Improve new syntax files and fix a region glitch

This commit is contained in:
Zachary Yedidia
2017-03-21 15:07:39 -04:00
parent b977bf5cca
commit 54bb99d758
67 changed files with 2941 additions and 642 deletions

View File

@@ -1,14 +1,16 @@
filetype: xml
detect:
detect:
filename: "\\.(xml|sgml?|rng|plist)$"
rules:
- symbol.tag: "<.*?>"
- preproc:
- identifier: "<.*?>"
- comment:
start: "<!DOCTYPE"
end: "[/]?>"
rules: []
- comment: "<!--.+?-->"
- comment:
start: "<!--"
end: "-->"
rules: []
- special: "&[^;]*;"