Skip to content

Commit

Permalink
fixed issue with spaces in field declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
emekoi committed Oct 22, 2019
1 parent 715e486 commit e9919c7
Show file tree
Hide file tree
Showing 3 changed files with 351 additions and 351 deletions.
2 changes: 1 addition & 1 deletion Syntaxes/Zig.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repository:
'2':
name: punctuation.separator.zig

end: '([a-zA-Z_][a-zA-Z0-9_.]*|@\".+\")(?:(,)|\s*(=)\s*|(?=\n|\r))'
end: '([a-zA-Z_][a-zA-Z0-9_.]*|@\".+\")\s*(?:(,)|(=)|(?=\n|\r))'
endCaptures:
'1':
name: storage.type.zig
Expand Down
2 changes: 1 addition & 1 deletion Syntaxes/Zig.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
</dict>
</dict>
<key>end</key>
<string>([a-zA-Z_][a-zA-Z0-9_.]*|@\".+\")(?:(,)|\s*(=)\s*|(?=\n|\r))</string>
<string>([a-zA-Z_][a-zA-Z0-9_.]*|@\".+\")\s*(?:(,)|(=)|(?=\n|\r))</string>
<key>endCaptures</key>
<dict>
<key>1</key>
Expand Down
Loading

0 comments on commit e9919c7

Please sign in to comment.