Skip to content

Commit

Permalink
Update pattern for unicode escape to \u{N...}
Browse files Browse the repository at this point in the history
  • Loading branch information
hryx committed Jul 6, 2019
1 parent 5602dac commit 79ebf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/zig.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"patterns": [
{
"name": "constant.character.escape.zig",
"match": "\\\\([nrt'\"\\\\]|(x[0-9a-fA-F]{2})|(u[0-9a-fA-F]{4})|(U[0-9a-fA-F]{6}))"
"match": "\\\\([nrt'\"\\\\]|(x[0-9a-fA-F]{2})|(u\\{[0-9a-fA-F]+\\}))"
},
{
"name": "invalid.illegal.unrecognized-string-escape.zig",
Expand Down

0 comments on commit 79ebf22

Please sign in to comment.