Open fortael opened 7 years ago
:
is actually valid according to the XML standard.
https://www.w3.org/TR/REC-xml/#NT-Attribute https://www.w3.org/TR/REC-xml/#NT-NameStartChar
[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
[5] Name ::= NameStartChar (NameChar)*
Okay, but idea core for some reasons do not parse :
. I even can not use escape char like \:[a-z].*
. It is automatically deleted. So i believe the plugin may help.
Even this does not work.
Is that even possible to highlight vue tags? I already add two regex for
@
andv-*
but it does not work with:
. For exampleBut ide ignores
:
at all, even with regex. It some kind of problem with xml standarts, I think...