return { { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", config = function() require("nvim-treesitter.configs").setup({ ensure_installed = { "bash", "css", "dockerfile", "gitcommit", "gitignore", "groovy", "haskell", "html", "javascript", "json", "kotlin", "latex", "lua", "make", "matlab", "nginx", "norg", "pug", "python", "regex", "scss", "sql", "ssh_config", "svelte", "tsx", "typescript", "typst", "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, }, }