mirror of
https://github.com/chylex/IntelliJ-Rainbow-Brackets.git
synced 2025-05-11 03:34:04 +02:00
Fix #851 Rainbowify tag name doesn't works in JSX
(cherry picked from commit fa53f8fa0add3d9839b9d3cbac3e0448da55ac7b)
This commit is contained in:
parent
44a3a6dedc
commit
8414e8a2ea
@ -57,6 +57,7 @@ open class XmlRainbowVisitor : RainbowHighlightVisitor() {
|
||||
element.level?.let { element.setHighlightInfo(element.parent, it + 1, startElement, endElement) }
|
||||
}
|
||||
|
||||
XmlTokenType.XML_TAG_NAME,
|
||||
XmlTokenType.XML_NAME -> {
|
||||
if (RainbowSettings.instance.rainbowifyTagNameInXML) {
|
||||
val prevSibling = element.prevSibling
|
||||
|
Loading…
Reference in New Issue
Block a user