Skip to content

Commit

Permalink
add local: to powershell keywords (#2254)
Browse files Browse the repository at this point in the history
Co-authored-by: chsh <chuanshu@sheasecurity.com>
  • Loading branch information
chshwork and chsh committed Oct 16, 2022
1 parent 4064ca8 commit 61011f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygments/lexers/shell.py
Expand Up @@ -665,7 +665,7 @@ class PowerShellLexer(RegexLexer):
keywords = (
'while validateset validaterange validatepattern validatelength '
'validatecount until trap switch return ref process param parameter in '
'if global: function foreach for finally filter end elseif else '
'if global: local: function foreach for finally filter end elseif else '
'dynamicparam do default continue cmdletbinding break begin alias \\? '
'% #script #private #local #global mandatory parametersetname position '
'valuefrompipeline valuefrompipelinebypropertyname '
Expand Down

0 comments on commit 61011f6

Please sign in to comment.