feat: add block and call queries for go, c and bash

This commit is contained in:
TheLeoP
2025-06-30 11:58:26 -05:00
parent e4aae30b3f
commit ac432f1352
3 changed files with 20 additions and 0 deletions

View File

@@ -34,3 +34,7 @@
(heredoc_redirect
(heredoc_start) @open.rhrd
(heredoc_end) @close.rhrd) @scope.rhrd
(compound_statement
"{" @open.block
"}" @close.block) @scope.block

View File

@@ -63,3 +63,11 @@
(break_statement
"break" @mid.loop.1)
(compound_statement
"{" @open.block
"}" @close.block) @scope.block
(argument_list
"(" @open.call
")" @close.call) @scope.call

View File

@@ -32,3 +32,11 @@
(_
"\"" @open.quote_double
"\"" @close.quote_double) @scope.quote_double
(block
"{" @open.block
"}" @close.block) @scope.block
(argument_list
"(" @open.call
")" @close.call) @scope.call