config.nvim/lua/custom/plugins/treesitter.lua

17 lines
413 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
lazy = false,
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "nix", "lua", "bash" },
auto_install = true,
sync_install = false,
indent = { enable = true },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
})
end,
}