File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -3321,7 +3321,7 @@ contexts:
3321
3321
- include : eol-pop
3322
3322
3323
3323
eol-pop :
3324
- - match : $|(?=\s+ [#\n])
3324
+ - match : $|(?={{wspace}} [#\n])
3325
3325
pop : 1
3326
3326
- include : line-continuations
3327
3327
Original file line number Diff line number Diff line change 117
117
# ^^^^^^^^^^ - comment
118
118
))
119
119
120
+ cmd \
121
+ # comment after line continuation
122
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
123
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
124
+
125
+ cmd ; \
126
+ # comment after line continuation
127
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
128
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
129
+
130
+ cmd | \
131
+ # comment after line continuation
132
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
133
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
134
+
135
+ cmd || \
136
+ # comment after line continuation
137
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
138
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
139
+
140
+ cmd & \
141
+ # comment after line continuation
142
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
143
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
144
+
145
+ cmd && \
146
+ # comment after line continuation
147
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
148
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
149
+
150
+ cmd arg \
151
+ # comment after line continuation
152
+ # <- comment.line.number-sign.shell punctuation.definition.comment.shell
153
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.number-sign.shell
154
+
120
155
121
156
###############################################################################
122
157
# Git Conflict Marker Tests
You can’t perform that action at this time.
0 commit comments