Files
nvim/lua/plugins/treesitter.lua

17 lines
394 B
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
priority = 1000, -- Load before everything else
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
sync_install = true,
ensure_installed = { "typst", "go", "bash", "python", "nix" },
highlight = { enable = true },
indent = { enable = true },
})
end
},
}