Skip to content

Commit

Permalink
re-enabled misbehaving syntax features for release
Browse files Browse the repository at this point in the history
  • Loading branch information
emekoi committed Apr 15, 2020
1 parent b25f877 commit 99c8b18
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/Zig.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ repository:
main:
patterns:
- include: '#label'
# - include: '#function_type'
- include: '#function_type'
- include: '#punctuation'
- include: '#storage_modifier'
- include: '#container_decl'
Expand All @@ -363,6 +363,6 @@ repository:
- include: '#support'
- include: '#field_decl'
- include: '#block'
# - include: '#function_def'
- include: '#function_def'
- include: '#function_call'
- include: '#enum_literal'
8 changes: 8 additions & 0 deletions Syntaxes/Zig.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@
<key>include</key>
<string>#label</string>
</dict>
<dict>
<key>include</key>
<string>#function_type</string>
</dict>
<dict>
<key>include</key>
<string>#punctuation</string>
Expand Down Expand Up @@ -530,6 +534,10 @@
<key>include</key>
<string>#block</string>
</dict>
<dict>
<key>include</key>
<string>#function_def</string>
</dict>
<dict>
<key>include</key>
<string>#function_call</string>
Expand Down
6 changes: 6 additions & 0 deletions Syntaxes/Zig.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@
{
"include": "#label"
},
{
"include": "#function_type"
},
{
"include": "#punctuation"
},
Expand Down Expand Up @@ -183,6 +186,9 @@
{
"include": "#block"
},
{
"include": "#function_def"
},
{
"include": "#function_call"
},
Expand Down

0 comments on commit 99c8b18

Please sign in to comment.