File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1269,7 +1269,7 @@ contexts:
12691269 1 : invalid.illegal.unexpected-whitespace.powershell
12701270
12711271 line-continuation-body :
1272- - match : ^
1272+ - match : ^(?!\s*#)
12731273 pop : 1
12741274
12751275 comma-separators :
Original file line number Diff line number Diff line change @@ -945,6 +945,7 @@ $a3[1..2]
945945# ^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
946946# ^ punctuation.separator.decimal.powershell
947947# ^ punctuation.separator.continuation.line.powershell
948+ # An indented comment doesn't interrupt line continuation
948949 - p3 $value | Invoke-Something - verbose
949950# ^^^^^^^^^^^^^^ meta.function-call.arguments.powershell
950951# ^^^ variable.parameter.option.powershell
You can’t perform that action at this time.
0 commit comments