Skip to content

Commit 1e0c04f

Browse files
authored
Merge pull request #93 from kborowinski/patch-1
Fixes CommandType argument highlighting
2 parents d2b66ea + e6e2070 commit 1e0c04f

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
@@ -542,7 +542,7 @@
542542
<key>function</key>
543543
<dict>
544544
<key>begin</key>
545-
<string>(?&lt;!\S)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
545+
<string>^(?:\s*+)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
546546
<key>beginCaptures</key>
547547
<dict>
548548
<key>0</key>

0 commit comments

Comments
 (0)