Skip to content

Commit

Permalink
Fixed issue with inline function definition syntax coloring #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Perry Clarke committed Sep 25, 2017
1 parent 87673d1 commit f5a3eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoronaSDKLua.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</dict>
</dict>
<key>match</key>
<string>(?:(?=.*\bfunction\b.*))(local\s+)*(function\s+)*((?:[A-Za-z_]\w*[:.])*[A-Za-z_]\w*)(?:\s*=\s*)*(function)*\s*(\()([^)]*)(\))</string>
<string>(?:.*(?=\bfunction\b.*))(local\s+)*(function\s+)*((?:[A-Za-z_]\w*[:.])*[A-Za-z_]\w*)(?:\s*=\s*)*(function)*\s*(\()([^)]*)(\))</string>
<key>name</key>
<string>meta.function.lua</string>
<key>comment</key>
Expand Down

0 comments on commit f5a3eeb

Please sign in to comment.