-require'nvim-treesitter.configs'.setup {
- --[[
- -- One of "all", "maintained" (parsers with maintainers), or a list of languages
- ensure_installed = "maintained",
- -- Install languages synchronously (only applied to `ensure_installed`)
- sync_install = false,
- -- List of parsers to ignore installing
- ignore_install = { "javascript" },
- ]]
+require'nvim-treesitter'.setup {
+ -- A list of parser names, or "all"
+ ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
+
+ -- Automatically install missing parsers when entering buffer
+ -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
+ auto_install = true,