nvim-config/.config/nvim/lua/plugins/treesitter.lua

15 lines
325 B
Lua
Raw Normal View History

2024-10-21 08:08:26 +00:00
return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function ()
local configs = require('nvim-treesitter.configs')
configs.setup({
ensure_installed = { 'c', 'lua', 'vim', 'vimdoc', 'query' },
auto_install = true,
highlight = { enable = true },
indent = { enable = true }
})
end
}