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,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: []