This repository was archived by the owner on Jun 2, 2023. It is now read-only.
File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 139
139
name : " support.function.powershell"
140
140
}
141
141
{
142
- match : " (?<!\\ w)((?i:begin|break|catch|continue|data|define|do|dynamicparam|else|elseif|end|exit|finally|for|foreach(?!-object)|from|if|in|inlinescript|parallel|param|process|return|switch|throw|trap|try|until|using|var|where(?!= -object)|while)|%|\\ ?)(?!\\ w)"
142
+ match : " (?<!\\ w)((?i:begin|break|catch|continue|data|define|do|dynamicparam|else|elseif|end|exit|finally|for|foreach(?!-object)|from|if|in|inlinescript|parallel|param|process|return|switch|throw|trap|try|until|using|var|where(?!-object)|while)|%|\\ ?)(?!\\ w)"
143
143
name : " keyword.control.powershell"
144
144
}
145
145
{
240
240
patterns : [
241
241
{
242
242
comment : " Verb-Noun pattern:"
243
- match : " (?:(\\ p{L}|\\ d|_|-|\\\\ |\\ :)*\\\\ )?\\ b(?i:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)\\ -.+?(?:\\ .(?i:exe|cmd|bat|ps1))?\\ b"
243
+ match : " (?:(\\ p{L}|\\ d|_|-|\\\\ |\\ :)*\\\\ )?\\ b(?i:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where| Write)\\ -.+?(?:\\ .(?i:exe|cmd|bat|ps1))?\\ b"
244
244
name : " support.function.powershell"
245
245
}
246
246
{
688
688
]
689
689
690
690
scopeName : " source.powershell"
691
- }
691
+ }
You can’t perform that action at this time.
0 commit comments