Replies: 2 comments
-
Huh, I think I figured out the problem, you added XML highlights two weeks ago! I'll go read the docs to see how I can override the default highlights, if I come to an answer I'll close this and if I don't I'll come back. |
Beta Was this translation helpful? Give feedback.
-
Yes, I did add XML support. You should be able to override the query by adding your own query to let g:rainbow_delimiters = {'query': {'xml': 'rainbow-angle-brackets'}} |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm running a custom xml query (i.e. mostly copied the html example) such that only the angle brackets were highlighted and not the tags. The query in question is
However, when I updated my plugins recently it changed so that the tag is also highlighted, and try as I might I couldn't figure out how to not make it highlighted. Did something change in this plugin or did something happen with nvim-treesitter?
I'm opening this as a discussion as I'm not sure if it's a bug or pebcak.
As a side point, would you like me to submit a PR with these highlights? Apart from the tag-highlighting they work pretty damn well IMO.
Beta Was this translation helpful? Give feedback.
All reactions