Files
tools.nvim/lua/roka/plug/treesitter.lua
T
Mészáros Zoltán f750e44e1a First release
2026-06-16 12:27:51 +02:00

26 lines
651 B
Lua
Executable File

require('nvim-treesitter.configs').setup {
-- A list of parser names, or "all"
ensure_installed = {
"lua", "vim", "vimdoc", "query",
"javascript", "typescript", "tsx",
"python", "rust", "go", "c", "cpp",
"pascal", "latex", "yaml",
-- add more as needed
},
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- Automatically install missing parsers when entering buffer
auto_install = true,
highlight = {
enable = true, -- false will disable the whole extension
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
},
}