Skip to content

Commit

Permalink
Support syntax coloring for events.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball committed Aug 9, 2024
1 parent 4de46d2 commit 64712ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Facility.VisualStudioExtension/Grammars/fsd.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
<key>method-declaration</key>
<dict>
<key>begin</key>
<string>(?=\bmethod\b)</string>
<string>(?=\b(method|event)\b)</string>
<key>end</key>
<string>(?&lt;=\})</string>
<key>name</key>
Expand All @@ -440,7 +440,7 @@
</dict>
</dict>
<key>match</key>
<string>\b(method)\s+([a-zA-Z_][a-zA-Z_0-9]*)\b</string>
<string>\b(method|event)\s+([a-zA-Z_][a-zA-Z_0-9]*)\b</string>
</dict>
<dict>
<key>begin</key>
Expand Down

0 comments on commit 64712ce

Please sign in to comment.