File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ contexts:
186
186
captures :
187
187
1 : punctuation.definition.keyword.powershell
188
188
# Flags/Options/Parameters
189
- - match : \B(-|--|/ )\p{L}(?:[\w-]*\w)?
189
+ - match : \B(--?|[/+] )\p{L}(?:[\w-]*\w)?
190
190
scope : variable.parameter.option.powershell
191
191
captures :
192
192
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!"
92
92
# ^^^ keyword.control
93
93
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted - constant - variable - comment
94
94
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
96
96
# <- keyword.operator.other
97
97
# ^^^^^^^^^^^ variable.function
98
98
# ^ variable.parameter.option punctuation.definition.parameter
99
99
# ^ variable.parameter.option
100
100
# ^^ variable.parameter.option punctuation.definition.parameter
101
101
# ^^ variable.parameter.option punctuation.definition.parameter
102
102
# ^^^^^^^^^^^^^^^^ variable.parameter.option
103
+ # ^ variable.parameter.option punctuation.definition.parameter
104
+ # ^^^^^^^^^^^ variable.parameter.option
103
105
104
106
# Automatic variables
105
107
$_ , $$ , $^ , $?
You can’t perform that action at this time.
0 commit comments