return { "nvim-treesitter/nvim-treesitter", branch = "main", build = ":TSUpdate", config = function() require("nvim-treesitter").install({ "lua", "vim", "vimdoc", "query", "python", "bash", "yaml", "hcl", "terraform", "html", "css", "javascript", "typescript", "tsx", "json", "markdown", "markdown_inline", }) -- Enable highlighting for any buffer whose filetype has an installed -- parser; vim.treesitter.start() is a no-op (caught by pcall) otherwise. vim.api.nvim_create_autocmd("FileType", { pattern = "*", callback = function() pcall(vim.treesitter.start) end, }) end, }