Many optimizations and new syntax files

This commit is contained in:
Zachary Yedidia
2017-03-26 19:14:03 -04:00
parent 56f3992cdb
commit 084c2be66c
103 changed files with 2079 additions and 342 deletions
+18 -17
View File
@@ -28,23 +28,6 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"
rules: []
- comment:
start: "\"\"\""
end: "\"\"\""
@@ -54,3 +37,21 @@ rules:
start: "'''"
end: "'''"
rules: []
- constant.string:
start: "\""
end: "(?<!\\\\)\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "(?<!\\\\)'"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"
rules: []