Updated Julia number and string syntax highlighting
@@ -21,9 +21,9 @@ rules:
# parentheses
- symbol.brackets: "([(){}]|\\[|\\])"
# numbers
- - constant.number: "\\b[0-9]+\\b"
+ - constant.number: "\\b([0-9]+(_[0-9]+)*|0x[0-9a-fA-F]+(_[0-9a-fA-F]+)*|0b[01]+(_[01]+)*|0o[0-7]+(_[0-7]+)*)\\b"
- - constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
+ - constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^']){1}'"
- constant.string:
start: "\"\"\""
