return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", dependencies = { --{ -- "nvim-treesitter/playground", -- inspect treesitter structure -- cmd = "TSPlaygroundToggle" --}, "HiPhish/rainbow-delimiters.nvim", -- colored delimiters per scope level { "windwp/nvim-ts-autotag", -- close tags in html/xml type languages opts = { per_filetype = { ["html"] = { enable_close = true } } } }, }, config = function() local configs = require("nvim-treesitter.configs") configs.setup({ ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "comment", "javascript", "html", "css", "scss", "python", "php" }, auto_install = true, -- install available parsers when entering new buffers highlight = { enable = true, disable = { "yaml", "bash", "latex" } }, indent = { enable = true, disable = { "yaml" } }, --playground = { enable = true }, -- treesitter debug }) end }