Improve julia syntax file

Ref #781
This commit is contained in:
Zachary Yedidia
2017-08-14 15:18:48 -04:00
parent 660f1e181a
commit d70a48bd13
2 changed files with 3 additions and 15 deletions

View File

@@ -23,6 +23,8 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- constant.string:
start: "\"\"\""
end: "\"\"\""
@@ -33,20 +35,6 @@ rules:
end: "'''"
rules: []
- constant.string:
start: "\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"