File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 253
253
<string >keyword.control.powershell </string >
254
254
</dict >
255
255
<dict >
256
- <key >match </key >
256
+ <key >begin </key >
257
257
<string >(?< !\w)(--%)(?!\w) </string >
258
- <key >name </key >
259
- <string >keyword.control.powershell </string >
258
+ <key >beginCaptures </key >
259
+ <dict >
260
+ <key >1 </key >
261
+ <dict >
262
+ <key >name </key >
263
+ <string >keyword.control.powershell </string >
264
+ </dict >
265
+ </dict >
266
+ <key >end </key >
267
+ <string >$ </string >
268
+ <key >patterns </key >
269
+ <array >
270
+ <dict >
271
+ <key >match </key >
272
+ <string >.+ </string >
273
+ <key >name </key >
274
+ <string >string.unquoted.powershell </string >
275
+ </dict >
276
+ </array >
277
+ <key >comment </key >
278
+ <string >This should be moved to the repository at some point. </string >
260
279
</dict >
261
280
<dict >
262
281
<key >comment </key >
Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ throw "Do not run this file!"
84
84
& tool.exe / arg1 ' value' / arg2 $value --% /arg3 $value /arg4 "value" # Comment
85
85
# <- keyword.operator.other.powershell
86
86
# ^^^^^^^^ support.function.powershell
87
- # ^ ^ ^ ^ keyword.operator.assignment.powershell
87
+ # ^ ^ keyword.operator.assignment.powershell
88
88
# ^^^ keyword.control.powershell
89
+ # ^^ ^^ ^^ ^^ ^ ^ string.unquoted.powershell
89
90
90
91
# Automatic variables
91
92
$_
You can’t perform that action at this time.
0 commit comments