nvim-config/lua/plugins/treesitter.lua
2024-05-16 23:11:48 +01:00

14 lines
334 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
build=":TSUpdate",
config=function()
local config = require("nvim-treesitter.configs")
config.setup({
ensure_installed = {"lua", "python", "rust", "c"},
highlight = {enable=true},
indent = {enable=true},
})
end
}