rainbow
rainbow copied to clipboard
Only color angle brackets (<>) with html
Is your feature request related to a problem? Please describe. In html the whole tag is colored: this makes reading the attributes harder.
Describe the solution you'd like I would like to have only the angle brackets (<>) in html, colored. I don't know if this is currently possible.
Describe alternatives you've considered Currently I have rainbow is disabled for html.
Additional context So for this image:
https://raw.githubusercontent.com/luochen1990/rainbow/demo/html.png
You can see the whole tag is colored, while I would like to see only the <> to be colored and the attributes, like id="p1" be differently colored.
similarly, I would like only <tagname
and >
(but not the contents of the tag) to be colored.
@stumash That is maybe a better idea indeed.
我觉得这个需求也很关键,作者大大什么时候考虑一下
I think this requirement is also very important. When will the author think about it?
Last release was 6 years ago, so I don't think this project is getting active work atm, or at least only on important stuff. So you probably have to do it yourself if you want it.
Has somebody found some DIY solution or another plugin that can rainbowify tags in HTML or any other language without coloring "less than" symbols?
Has somebody found some DIY solution or another plugin that can rainbowify tags in HTML or any other language without coloring "less than" symbols?
I've moved my neovim config over to the lua ecosystem that's blowing up. There's a plugin that uses lua and treesitter that does what i want.
It's a big change to move to neovim+lua but it's a thriving ecosystem and the plugins are getting better at an insane rate