- syntax: Add a few more file endings

pull/268/head
Zach DeCook 4 years ago
parent c8e328c847
commit aaee778ba5

@ -1,6 +1,6 @@
## Here is an example for C/C++.
##
syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$"
syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$" "\.ino"
magic "^(C|C\+\+) (source|program)"
comment "//"
color brightred "\<[A-Z_][0-9A-Z_]+\>"

@ -1,7 +1,7 @@
## Here is an example for xml files.
##
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|mei|musicxml)$"
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|vue|mei|musicxml)$"
header "<\?xml.*version=.*\?>"
magic "(XML|SGML) (sub)?document"
comment "<!--|-->"

Loading…
Cancel
Save