mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
0d82a635b3
unreasonable to require them to be correct. On the other hand, Cooledit can easily be changed to accept named color names.
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
# XML syntax highlighting
|
|
#
|
|
# Author: Petr Kozelka <pkozelka@email.cz>
|
|
# http://kozelka.hyperlink.cz
|
|
|
|
context default
|
|
keyword &*; white cyan
|
|
spellcheck
|
|
|
|
context <!-- --> brightgreen
|
|
spellcheck
|
|
|
|
context <! > yellow
|
|
keyword '+' brightcyan
|
|
keyword "+" brightcyan
|
|
keyword whole DOCTYPE white red
|
|
keyword whole PUBLIC brightred
|
|
keyword whole SYSTEM brightred
|
|
keyword whole NDATA brightred
|
|
keyword whole CDATA white
|
|
keyword whole #PCDATA white
|
|
keyword whole EMPTY white
|
|
keyword whole #REQUIRED white
|
|
keyword whole #IMPLIED white
|
|
keyword whole ELEMENT white
|
|
keyword whole ENTITY brightred
|
|
keyword whole ATTLIST white
|
|
keyword whole %*; white cyan
|
|
keyword \( lightgray
|
|
keyword \) lightgray
|
|
keyword \* lightgray
|
|
keyword \? lightgray
|
|
keyword \+ lightgray
|
|
keyword \| lightgray
|
|
keyword \, lightgray
|
|
spellcheck
|
|
|
|
context <\?xml \?> white red
|
|
context <\? \?> lightgray black
|
|
context < > white
|
|
keyword \sxmlns\:*\="+" brightred
|
|
keyword \sxmlns\="+" brightred
|
|
keyword \s+\= yellow
|
|
keyword '*' brightcyan
|
|
keyword "*" brightcyan
|
|
spellcheck
|
|
|
|
|