We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2b66ea + e6e2070 commit 1e0c04fCopy full SHA for 1e0c04f
PowerShellSyntax.tmLanguage
@@ -542,7 +542,7 @@
542
<key>function</key>
543
<dict>
544
<key>begin</key>
545
- <string>(?<!\S)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
+ <string>^(?:\s*+)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
546
<key>beginCaptures</key>
547
548
<key>0</key>
0 commit comments