Skip to content

Commit 1c060d3

Browse files
committed
Improve scm examples
1 parent 15b273c commit 1c060d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

queries/zig.scm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
) @namedFunction @_.domain
99

1010
;;!! fn foo(aa: u8) void {}
11-
;;! ^^^^^^^^^^^^^ argumentList
11+
;;! ^^^^^^ argumentOrParameter
1212
;;! ^^ name
1313
;;! ^^ type
1414
(function_declaration
@@ -27,6 +27,7 @@
2727

2828
;;!! fn foo(aa: u8, bb:u8) void {}
2929
;;! ^^^^^^^^^^^^^ argumentList
30+
;;! ----------------------------- ^domain
3031
(function_declaration
3132
(parameters) @argumentList
3233
(#child-range! @argumentList 1 -2)

0 commit comments

Comments
 (0)