mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Set XML filetype for .svg and files with xml version tag
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
filetype: xml
|
||||
|
||||
detect:
|
||||
filename: "\\.(xml|sgml?|rng|plist)$"
|
||||
filename: "\\.(xml|sgml?|rng|svg|plist)$"
|
||||
header: "<\\?xml.*\\?>"
|
||||
|
||||
rules:
|
||||
- identifier: "<.*?>"
|
||||
@@ -9,7 +10,7 @@ rules:
|
||||
start: "<!DOCTYPE"
|
||||
end: "[/]?>"
|
||||
rules: []
|
||||
- comment:
|
||||
- comment:
|
||||
start: "<!--"
|
||||
end: "-->"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user