Skip to content

Commit 2d7436f

Browse files
authored
Add support for matching function call arguments in Zig (#14436)
1 parent 1388166 commit 2d7436f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote
16231623

16241624
[[grammar]]
16251625
name = "zig"
1626-
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-zig", rev = "b71affffdb4222ff2d2dea6e164f76603b0be6bc" }
1626+
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-zig", rev = "6479aa13f32f701c383083d8b28360ebd682fb7d" }
16271627

16281628
[[language]]
16291629
name = "prolog"

runtime/queries/zig/textobjects.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
(parameters
1919
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
2020

21+
(arguments
22+
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
23+
2124
(comment) @comment.inside
2225
(comment)+ @comment.around

0 commit comments

Comments
 (0)