return { { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { ensure_installed = { 'bash', 'c', 'cmake', 'cpp', 'css', 'cuda', 'diff', 'dockerfile', 'dot', 'go', 'gomod', 'html', 'java', 'javascript', 'json', 'json5', 'latex', 'llvm', 'lua', 'luadoc', 'make', 'markdown', 'markdown_inline', 'nix', 'python', 'query', 'rst', 'toml', 'vim', 'vimdoc', 'yaml', }, auto_install = true, highlight = { enable = true, additional_vim_regex_highlighting = { 'ruby' }, }, indent = { enable = true, disable = { 'ruby' } }, }, config = function(_, opts) ---@diagnostic disable-next-line: missing-fields require('nvim-treesitter.configs').setup(opts) end, }, }