Skip to content

Commit 33fabc6

Browse files
committed
fix(html): HTML should not be highlighted as XML
1 parent d28078e commit 33fabc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Here is an example for xml files.
22
##
33

4-
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|vue|mei|musicxml)$"
4+
syntax "XML" "\.([jrsx]html?|xml|sgml?|rng|vue|mei|musicxml)$"
55
header "<\?xml.*version=.*\?>"
66
magic "(XML|SGML) (sub)?document"
77
comment "<!--|-->"

0 commit comments

Comments
 (0)