nvim/lua/plugins/treesitter.lua

19 lines
342 B
Lua
Raw Normal View History

2023-12-12 12:16:58 +00:00
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,
},
})