Files
dotfiles/vim/.vim/lua/plugins/nvim-treesitter.lua
Christian Nieves e067e757bf stuff
2023-10-17 20:50:38 +00:00

29 lines
640 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all"
-- ensure_installed = { "c", "lua", "vim", "java", "kotlin"},
ensure_installed = "all",
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
disable = {"lua"},
highlight = {
-- `false` will disable the whole extension
enable = true,
indent = {
enable = true,
},
},
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- }
})
end,
lazy = false,
}