Skip to content

Commit 9d51f3a

Browse files
author
fidgetingbits
committed
Fix list items
1 parent 734c8a7 commit 9d51f3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

queries/nix.scm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@
7272

7373
;;!! foo = [ a b c ];
7474
;;! ^^^^^^^^^
75-
(list_expression) @list
75+
(list_expression
76+
element: (_) @collectionItem
77+
) @list
7678

7779
;;!! foo = { x = 1; y = 2; };
7880
;;! ^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)