We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dc10a5 commit e62352fCopy full SHA for e62352f
2 files changed
PowerShell.sublime-syntax
@@ -1270,7 +1270,7 @@ contexts:
1270
1: invalid.illegal.unexpected-whitespace.powershell
1271
1272
line-continuation-body:
1273
- - match: ^
+ - match: ^(?!\s*#)
1274
pop: 1
1275
1276
comma-separators:
Tests/syntax_test_PowerShell.ps1
@@ -945,6 +945,7 @@ $a3[1..2]
945
# ^^^^ meta.number.float.decimal.powershell constant.numeric.value.powershell
946
# ^ punctuation.separator.decimal.powershell
947
# ^ punctuation.separator.continuation.line.powershell
948
+ # An indented comment doesn't interrupt line continuation
949
-p3 $value | Invoke-Something -verbose
950
#^^^^^^^^^^^^^^ meta.function-call.arguments.powershell
951
# ^^^ variable.parameter.option.powershell
0 commit comments