Files
dotfiles/vim/.vim/lua/plugins/nvim-treesitter.lua
Christian Nieves 56951c0225 Separate configs
2023-06-26 13:01:09 -05:00

28 lines
609 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,
highlight = {
-- `false` will disable the whole extension
enable = true,
indent = {
enable = true,
},
},
-- rainbow = {
-- enable = true,
-- extended_mode = true,
-- }
})
end,
lazy = false,
}