60 lines
1.1 KiB
Lua
60 lines
1.1 KiB
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate",
|
|
config = function()
|
|
require("nvim-treesitter.configs").setup({
|
|
ensure_installed = {
|
|
"bash",
|
|
"css",
|
|
"dockerfile",
|
|
"gitcommit",
|
|
"gitignore",
|
|
"groovy",
|
|
"html",
|
|
"javascript",
|
|
"json",
|
|
"kotlin",
|
|
"lua",
|
|
"make",
|
|
"matlab",
|
|
"nginx",
|
|
"pug",
|
|
"python",
|
|
"regex",
|
|
"scss",
|
|
"sql",
|
|
"ssh_config",
|
|
"typescript",
|
|
"vim",
|
|
"vimdoc",
|
|
"vue",
|
|
"xml",
|
|
"yaml",
|
|
},
|
|
modules = {},
|
|
auto_install = false,
|
|
ignore_install = {},
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
sync_install = false,
|
|
})
|
|
require("nvim-treesitter.configs").setup({
|
|
ensure_installed = {
|
|
"java",
|
|
},
|
|
modules = {},
|
|
auto_install = false,
|
|
ignore_install = {},
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
sync_install = false,
|
|
custom_captures = {
|
|
-- Highlight @Test annotations
|
|
["annotation.identifier"] = "TSAnnotation",
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
}
|