mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
feat: add block and call queries for go, c and bash
This commit is contained in:
@@ -34,3 +34,7 @@
|
||||
(heredoc_redirect
|
||||
(heredoc_start) @open.rhrd
|
||||
(heredoc_end) @close.rhrd) @scope.rhrd
|
||||
|
||||
(compound_statement
|
||||
"{" @open.block
|
||||
"}" @close.block) @scope.block
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user