return { "nvim-treesitter/nvim-treesitter", event = { "BufReadPre", "BufNewFile" }, build = ":TSUpdate", dependencies = { "windwp/nvim-ts-autotag", }, config = function() local treesitter = require "nvim-treesitter.configs" treesitter.setup { highlight = { enable = true, }, indent = { enable = true }, autotag = { enable = true }, ensure_installed = { "bash", "cmake", "cpp", "css", "diff", "dockerfile", "git_config", "git_rebase", "gitcommit", "gitignore", "graphql", "html", "javascript", "json", "lua", "markdown", "markdown_inline", "nginx", "perl", "php", "python", "regex", "sql", "ssh_config", "todotxt", "typescript", "vim", "vimdoc", "xml", "yaml", }, auto_install = true, incremental_selection = { enable = true, keymaps = { init_selection = "", node_incremental = "", scope_incremental = false, node_decremental = "", }, }, } end, }