trixy/lua/plugins/treesitter.lua

16 lines
558 B
Lua
Raw Normal View History

2023-07-29 15:00:35 +02:00
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the five listed parsers should always be installed)
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "haskell", "go", "bash" },
2023-07-29 15:00:35 +02:00
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
2023-07-29 15:00:35 +02:00
-- Automatically install missing parsers when entering buffer
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
auto_install = true,
2023-07-29 15:00:35 +02:00
highlight = {
enable = true,
},
2023-07-29 15:00:35 +02:00
}