Skip to content

Commit 990a2ca

Browse files
committed
1 parent b222a0c commit 990a2ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@
756756
<key>controlWords</key>
757757
<dict>
758758
<key>match</key>
759-
<string>(\b(?&lt;!-|\$)(?i:begin|exit|break|return|catch|finally|for|continue|foreach|throw|from|trap|try|do|if|until|in|using|else|elseif|while|end|where)\b(?!-|\.))</string>
759+
<string>(\b(?&lt;!-|\$)(?i:begin|process|exit|break|return|catch|finally|for|continue|foreach|throw|from|trap|try|do|if|until|in|using|else|elseif|while|end|where)\b(?!-|\.))</string>
760760
<key>name</key>
761761
<string>keyword.control.powershell</string>
762762
</dict>
@@ -1072,7 +1072,7 @@
10721072
<key>reservedWords</key>
10731073
<dict>
10741074
<key>match</key>
1075-
<string>(\b(?&lt;!-|\$)(?i:configuration|node|process|enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.))</string>
1075+
<string>(\b(?&lt;!-|\$)(?i:configuration|node|enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.))</string>
10761076
<key>name</key>
10771077
<string>keyword.other.powershell</string>
10781078
</dict>
@@ -1496,7 +1496,7 @@
14961496
<key>comment</key>
14971497
<string>${var}, ${script:var}</string>
14981498
<key>match</key>
1499-
<string>(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+)(\})((\.[\w"'\- @]+)*)</string>
1499+
<string>(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+?)(\})((\.[\w"'\- @]+)*)</string>
15001500
</dict>
15011501
<dict>
15021502
<key>captures</key>
@@ -1611,7 +1611,7 @@
16111611
<key>comment</key>
16121612
<string>${var}, ${script:var}</string>
16131613
<key>match</key>
1614-
<string>(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+)(\})</string>
1614+
<string>(\$)(\{)((?i:global|local|script|private|using|env|function|alias|cert|variable|hkcu|hklm|wsman):)?(.+?)(\})</string>
16151615
</dict>
16161616
<dict>
16171617
<key>captures</key>

0 commit comments

Comments
 (0)