Skip to content

Commit 6e08cdc

Browse files
committed
AS3: highlight methods without modifiers
Previously, at least one was required, such as the access modifier.
1 parent 0007a9b commit 6e08cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/src/assembly/syntaxes/AS3.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@
864864
<key>method</key>
865865
<dict>
866866
<key>begin</key>
867-
<string>(?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (\w+) (?=\s+\bfunction\b)</string>
867+
<string>(?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (?=\bfunction\b)</string>
868868
<key>beginCaptures</key>
869869
<dict>
870870
<key>3</key>

0 commit comments

Comments
 (0)