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

18 lines
413 B
Lua
Raw Normal View History

2024-11-11 22:17:41 -05:00
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,
}