File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Language grammar improvements:
11
11
- enh(swift) Improved highlighting for operator and precedencegroup declarations. (#2938 ) [ Steven Van Impe] [ ]
12
12
- fix(xml) Support single-character namespaces. (#2957 ) [ Jan Pilzer] [ ]
13
13
- enh(ruby) Support for character literals (#2950 ) [ Vaibhav Chanana] [ ]
14
+ - enh(powershell) Add three VALID_VERBS and update the reference link (#2981 ) [ davidhcefx] [ ]
14
15
15
16
Grammar changes:
16
17
@@ -39,6 +40,7 @@ Deprecations:
39
40
[ Steven Van Impe ] : https://github.com/svanimpe/
40
41
[ Josh Goebel ] : https://github.com/joshgoebel
41
42
[ Vaibhav Chanana ] : https://github.com/il3ven
43
+ [ davidhcefx ] : https://github.com/davidhcefx
42
44
43
45
44
46
## Version 10.5.0
Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ export default function(hljs) {
24
24
"void"
25
25
] ;
26
26
27
- // https://msdn .microsoft.com/en-us/library/ms714428(v=vs.85).aspx
27
+ // https://docs .microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands
28
28
const VALID_VERBS =
29
29
'Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|' +
30
30
'Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|' +
31
31
'Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|' +
32
32
'Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|' +
33
33
'ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|' +
34
- 'Limit|Merge|Out|Publish|Restore|Save|Sync|Unpublish|Update|' +
35
- 'Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register |' +
36
- 'Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|' +
34
+ 'Limit|Merge|Mount| Out|Publish|Restore|Save|Sync|Unpublish|Update|' +
35
+ 'Approve|Assert|Build| Complete|Confirm|Deny|Deploy| Disable|Enable|Install|Invoke|' +
36
+ 'Register| Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|' +
37
37
'Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|' +
38
38
'Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|' +
39
39
'Unprotect|Use|ForEach|Sort|Tee|Where' ;
You can’t perform that action at this time.
0 commit comments