2023-03-10 14:58:22 +00:00
|
|
|
require 'nvim-treesitter.configs'.setup {
|
|
|
|
-- A list of parser names, or "all" (the four listed parsers should always be installed)
|
2023-03-11 20:56:08 +00:00
|
|
|
ensure_installed = { "help", "javascript", "typescript", "c", "lua", "vim", "python" },
|
2023-03-10 14:58:22 +00:00
|
|
|
|
|
|
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
|
|
|
sync_install = false,
|
|
|
|
|
|
|
|
-- Automatically install missing parsers when entering buffer
|
|
|
|
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
|
|
|
auto_install = true,
|
|
|
|
|
|
|
|
autotag = {
|
|
|
|
enable = true
|
|
|
|
},
|
|
|
|
|
|
|
|
highlight = {
|
|
|
|
-- `false` will disable the whole extension
|
|
|
|
enable = true,
|
|
|
|
additional_vim_regex_highlighting = false,
|
|
|
|
},
|
|
|
|
}
|