File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ contexts:
186186 captures :
187187 1 : punctuation.definition.keyword.powershell
188188 # Flags/Options/Parameters
189- - match : \B(-|--|/)\p{L}(?:[\w-]*\w)?
189+ - match : \B(-|--|/|\+ )\p{L}(?:[\w-]*\w)?
190190 scope : variable.parameter.option.powershell
191191 captures :
192192 1 : punctuation.definition.parameter.powershell
Original file line number Diff line number Diff line change @@ -92,14 +92,16 @@ throw "Do not run this file!"
9292# ^^^ keyword.control
9393# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted - constant - variable - comment
9494
95- & gnutool.exe - s ' short option' -- long- option -- very_long_option value
95+ & gnutool.exe - s ' short option' -- long- option -- very_long_option value + plus - option
9696# <- keyword.operator.other
9797# ^^^^^^^^^^^ variable.function
9898# ^ variable.parameter.option punctuation.definition.parameter
9999# ^ variable.parameter.option
100100# ^^ variable.parameter.option punctuation.definition.parameter
101101# ^^ variable.parameter.option punctuation.definition.parameter
102102# ^^^^^^^^^^^^^^^^ variable.parameter.option
103+ # ^ variable.parameter.option punctuation.definition.parameter
104+ # ^^^^^^^^^^^ variable.parameter.option
103105
104106# Automatic variables
105107$_ , $$ , $^ , $?
You can’t perform that action at this time.
0 commit comments