You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/just/textobjects.scm

19 lines
548 B
Scheme

; From <https://github.com/IndianBoy42/tree-sitter-just/blob/6c2f018ab1d90946c0ce029bb2f7d57f56895dff/queries-flavored/helix/textobjects.scm>
;
; Specify how to navigate around logical blocks in code
(recipe
(recipe_body) @function.inside) @function.around
(parameters
((_) @parameter.inside . ","? @parameter.around)) @parameter.around
(dependency_expression
(_) @parameter.inside) @parameter.around
(function_call
arguments: (sequence
(expression) @parameter.inside) @parameter.around) @function.around
(comment) @comment.around