Merge pull request #1353 from jakobnissen/master
Updated Julia number and string syntax highlighting
This commit is contained in:
commit
3644ef4a5a
1 changed files with 2 additions and 2 deletions
|
@ -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: "\"\"\""
|
||||
|
|
Loading…
Reference in a new issue