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.
1 parent ef11edf commit 005e9efCopy full SHA for 005e9ef
Support/PowershellSyntax.tmLanguage
@@ -522,7 +522,7 @@
522
<key>function</key>
523
<dict>
524
<key>begin</key>
525
- <string>(?<!\S)((?i:function|filter|configuration|workflow))\s+((?:\p{L}|\d|_|-|\.)+)</string>
+ <string>(?<!\S)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
526
<key>beginCaptures</key>
527
528
<key>0</key>
@@ -536,6 +536,11 @@
536
<string>storage.type</string>
537
</dict>
538
<key>2</key>
539
+ <dict>
540
+ <key>name</key>
541
+ <string>storage.modifier.scope.powershell</string>
542
+ </dict>
543
+ <key>3</key>
544
545
<key>name</key>
546
<string>entity.name.function.powershell</string>
0 commit comments