Minor fixes and additional colorscheme support

This commit is contained in:
Zachary Yedidia
2017-02-17 10:22:56 -05:00
parent 4193133ce4
commit 0cce513e73
8 changed files with 65 additions and 57 deletions
+8 -3
View File
@@ -17,20 +17,25 @@ rules:
- statement: "[-+/*=<>!~%?:&|]"
- constant: "/[^*]([^/]|(\\\\/))*[^\\\\]/[gim]*"
- constant: "\\\\[0-7][0-7]?[0-7]?|\\\\x[0-9a-fA-F]+|\\\\[bfnrt'\"\\?\\\\]"
- comment:
start: "//"
end: "$"
rules: []
rules:
- todo: "TODO:?"
- comment:
start: "/\\*"
end: "\\*/"
rules: []
- todo: "TODO:?"
rules:
- todo: "TODO:?"
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"