Open andrevmatos opened 5 years ago
I don't think that rainbow
would be necessary if there were different groups for different braces like in pangloss/vim-javascript
. That way one could highlight each case differently.
Hmmm, I think remove the highlight of typescriptBraces
should work.
However, vim-javascript
also marks braces as special group namely Noise
. I don't know if I should remove the syntax group.
To provide some more context, because I am interested in this myself, Rainbow does apply to named imports, but nothing else in the file.
You mentioned https://github.com/luochen1990/rainbow here: https://github.com/HerringtonDarkholme/yats.vim/issues/124#issuecomment-512065243 but seems like Yats breaks it. I tried setting different configs at rainbow, but it always seems
typescriptParens
syntax definition always come first and break the plugin.typescriptBraces
is also applied to both square and curly brackets, and don't get rainbow'ed.