-- lua/plugins/treesitter.lua -- Syntax highlighting, indentation, and more via Tree-sitter return { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', main = 'nvim-treesitter.configs', opts = { ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', -- web 'javascript', 'typescript', 'tsx', 'json', 'css', -- go / php 'go', 'php', }, auto_install = true, highlight = { enable = true, additional_vim_regex_highlighting = { 'ruby' }, }, indent = { enable = true, disable = { 'ruby' } }, }, }