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,6 +1,6 @@
filetype: caddyfile
detect:
detect:
filename: "Caddyfile"
rules:
@@ -9,11 +9,13 @@ rules:
- constant.specialChar: "\\s{$"
- constant.specialChar: "^\\s*}$"
- constant.string:
start: "\\\""
end: "\\\""
rules: []
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- preproc: "\\{(\\w+|\\$\\w+|%\\w+%)\\}"
- comment: "#.*"
- indent-char: "([[:space:]]{2,}|\\t){$"
- indent-char: "[[:space:]]+$"
- comment:
start: "#"
end: "$"
rules: []