File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 756
756
<key >controlWords </key >
757
757
<dict >
758
758
<key >match </key >
759
- <string >(\b(?< !-|\$)(?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(?< !-|\$)(?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 >
760
760
<key >name </key >
761
761
<string >keyword.control.powershell </string >
762
762
</dict >
1072
1072
<key >reservedWords </key >
1073
1073
<dict >
1074
1074
<key >match </key >
1075
- <string >(\b(?< !-|\$)(?i:configuration|node|process| enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.)) </string >
1075
+ <string >(\b(?< !-|\$)(?i:configuration|node|enum|filter|sequence|class|data|define|function|dynamicparam|inlinescript|var|parallel|param|workflow)\b(?!-|\.)) </string >
1076
1076
<key >name </key >
1077
1077
<string >keyword.other.powershell </string >
1078
1078
</dict >
1496
1496
<key >comment </key >
1497
1497
<string >${var}, ${script:var} </string >
1498
1498
<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 >
1500
1500
</dict >
1501
1501
<dict >
1502
1502
<key >captures </key >
1611
1611
<key >comment </key >
1612
1612
<string >${var}, ${script:var} </string >
1613
1613
<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 >
1615
1615
</dict >
1616
1616
<dict >
1617
1617
<key >captures </key >
You can’t perform that action at this time.
0 commit comments