Skip to content

Commit 0d9e923

Browse files
js item
1 parent 4362f67 commit 0d9e923

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

queries/javascript.core.scm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,19 @@
272272
(#has-multiple-children-of-type? @_dummy variable_declarator)
273273
)
274274

275+
;;!! let foo, bar;
276+
;;! ^^^ ^^^
277+
(
278+
(lexical_declaration
279+
(variable_declarator)? @_.leading.endOf
280+
.
281+
(variable_declarator) @collectionItem
282+
.
283+
(variable_declarator)? @_.trailing.startOf
284+
)
285+
(#insertion-delimiter! @collectionItem ", ")
286+
)
287+
275288
(expression_statement
276289
[
277290
;; name:

0 commit comments

Comments
 (0)