mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Improve new syntax files and fix a region glitch
This commit is contained in:
@@ -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: "&[^;]*;"
|
||||
|
||||
Reference in New Issue
Block a user