29 lines
640 B
Lua
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,
|
|
}
|