mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 14:22:42 +09:00
Improve new syntax files and fix a region glitch
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
filetype: conf
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "\\.c[o]?nf$"
|
||||
|
||||
rules:
|
||||
- constant.string: "\"(\\\\.|[^\"])*\""
|
||||
- comment: "^[[:space:]]*#.*$"
|
||||
- comment: "^[[:space:]]*##.*$"
|
||||
- constant.string:
|
||||
start: "\""
|
||||
end: "\""
|
||||
rules: []
|
||||
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user