added treesitter

This commit is contained in:
Dario48true 2023-10-29 13:17:03 +01:00
parent 2bae5dd6c1
commit bc9052d035

View file

@ -0,0 +1,17 @@
return {
"nvim-treesitter/nvim-treesitter",
build = function()
require("nvim-treesitter.install").update({ with_sync = true })()
end,
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
sync_install = false,
auto_install = true,
highlight = { enable = true, additional_vim_regex_highlighting = false },
indent = { enable = true },
})
end
}