Files
zyedidia.micro/runtime/syntax/xml.yaml
Zachary Yedidia 2fcb40d5a9 Use new syntax highlighting engine from zyedidia/highlight
This changes all the syntax files in the runtime directory and also
changes how syntax highlighting is done from inside micro.
2017-02-26 11:14:35 -05:00

17 lines
280 B
YAML

filetype: xml
detect:
filename: "\\.(xml|sgml?|rng|plist)$"
rules:
- identifier: "<.*?>"
- comment:
start: "<!DOCTYPE"
end: "[/]?>"
rules: []
- comment:
start: "<!--"
end: "-->"
rules: []
- special: "&[^;]*;"