Skip to content

Commit

Permalink
AS3: highlight methods without modifiers
Browse files Browse the repository at this point in the history
Previously, at least one was required, such as the access modifier.
  • Loading branch information
joshtynjala committed Jun 10, 2022
1 parent 0007a9b commit 6e08cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/src/assembly/syntaxes/AS3.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@
<key>method</key>
<dict>
<key>begin</key>
<string>(?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (\w+) (?=\s+\bfunction\b)</string>
<string>(?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (?=\bfunction\b)</string>
<key>beginCaptures</key>
<dict>
<key>3</key>
Expand Down

0 comments on commit 6e08cdc

Please sign in to comment.