Skip to content

Commit

Permalink
Merge pull request #99 from kborowinski/patch-2
Browse files Browse the repository at this point in the history
Fix class keyword coloring
  • Loading branch information
omniomi committed May 25, 2018
2 parents 529562f + 6bc734e commit 40d2d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerShellSyntax.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
<key>comment</key>
<string>capture should be entity.name.type, but it doesn't provide a good color in the default schema.</string>
<key>match</key>
<string>(?&lt;!\w)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|)+)\b</string>
<string>(?&lt;!\w|-)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|)+)\b</string>
</dict>
<dict>
<key>match</key>
Expand Down

0 comments on commit 40d2d8f

Please sign in to comment.