junegunn / rainbow_parentheses.vim

:rainbow: Simpler Rainbow Parentheses
377 stars 24 forks source link

Colorization Does Not Work with Treesitter #32

Closed unrealapex closed 1 year ago

unrealapex commented 1 year ago

Rainbow parentheses does not work with treesitter. Parentheses just appear gray: image Note that when in visual mode on the parentheses, colorization appears: image Is there any fix for this? Here is my treesitter configuration if it helps:

-- treesitter stuff
local configs = require("nvim-treesitter.configs")
configs.setup {
  ensure_installed = "all",
  sync_install = false, 
  ignore_install = { "" }, -- List of parsers to ignore installing
  highlight = {
    enable = true, -- false will disable the whole extension
    disable = { "" }, -- list of language that will be disabled
    additional_vim_regex_highlighting = true,

  },
  indent = { enable = true, disable = { "yaml" } },
}
unrealapex commented 1 year ago

Issue fixed by #3964