nvim/lua/plugins/treesitter.lua
2023-12-12 20:16:58 +08:00

18 lines
342 B
Lua
Executable file

require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all"
ensure_installed = {
"nix",
"lua",
"vim",
},
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
auto_install = true,
highlight = {
enable = true,
},
indent = {
enable = true,
},
})