Skip to content

Commit

Permalink
Merge pull request #413 from zgrannan/zgrannan/add-unique-keyword
Browse files Browse the repository at this point in the history
Syntax highlighting for `unique` keyword in function declaration
  • Loading branch information
rayman2000 authored Jan 31, 2024
2 parents 55526b3 + b3640a4 commit 672cc72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/syntaxes/Viper.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@
<string>entity.name.function.silver</string>
</dict>
</dict>

<key>match</key>
<string>\b(function)\b(\s+([$\w]+(\.\[$\w])?))?</string>
<string>\b(unique\s+)?(function)\b(\s+([$\w]+(\.\[$\w])?))?</string>
<key>name</key>
<string>meta.function.silver</string>
<key>patterns</key>
Expand Down

0 comments on commit 672cc72

Please sign in to comment.