mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 09:47:19 +09:00
Improve new syntax files and fix a region glitch
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
filetype: git-config
|
||||
|
||||
detect:
|
||||
detect:
|
||||
filename: "git(config|modules)$|\\.git/config$"
|
||||
|
||||
rules:
|
||||
- constant.bool.true: "\\btrue\\b"
|
||||
- constant.bool.false: "\\bfalse\\b"
|
||||
- statement: "^[[:space:]]*[^=]*="
|
||||
- constant: "\\<(true|false)\\>"
|
||||
- keyword: "^[[:space:]]*[^=]*="
|
||||
- constant: "^[[:space:]]*\\[.*\\]$"
|
||||
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
||||
- comment: "(^|[[:space:]])#([^{].*)?$"
|
||||
- constant: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user