Skip to content

Commit 40d2d8f

Browse files
authored
Merge pull request #99 from kborowinski/patch-2
Fix class keyword coloring
2 parents 529562f + 6bc734e commit 40d2d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
<key>comment</key>
284284
<string>capture should be entity.name.type, but it doesn't provide a good color in the default schema.</string>
285285
<key>match</key>
286-
<string>(?&lt;!\w)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|)+)\b</string>
286+
<string>(?&lt;!\w|-)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|)+)\b</string>
287287
</dict>
288288
<dict>
289289
<key>match</key>

0 commit comments

Comments
 (0)