diff options
author | grzyb0w <102118813+grzyb0w@users.noreply.github.com> | 2022-10-17 04:34:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 19:34:26 +0200 |
commit | 61011f697c3bd569add0f7388057985dc12b4bfe (patch) | |
tree | f36695ed75051f94a326e2f399a1faf55b281ef7 | |
parent | 4064ca893a4c6fd1bd070b8e8f6339b6c345aabf (diff) | |
download | pygments-git-61011f697c3bd569add0f7388057985dc12b4bfe.tar.gz |
add local: to powershell keywords (#2254)
Co-authored-by: chsh <chuanshu@sheasecurity.com>
-rw-r--r-- | pygments/lexers/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index 474fbf66..cb9cb1de 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -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 ' |