return { { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', tag = 'v0.10.0', opts = { ensure_installed = { 'lua', 'luadoc', 'vim', 'vimdoc', 'bash', -- Go ecosystem 'go', 'gomod', 'gowork', 'gosum' }, -- Autoinstall languages that are not installed auto_install = true, highlight = { enable = true, additional_vim_regex_highlighting = { 'ruby' }, }, indent = { enable = true, disable = { 'ruby' } }, }, config = function(_, opts) require('nvim-treesitter.install').prefer_git = true ---@diagnostic disable-next-line: missing-fields require('nvim-treesitter.configs').setup(opts) end, }, }