dotfiles/.config/nvim/lua/plugins/treesitter.lua

18 lines
363 B
Lua

-- AST builder for parsers
-- https://github.com/nvim-treesitter/nvim-treesitter
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
auto_install = true,
highlight = {
enable = true,
},
enable = {
enable = true,
},
})
end,
}