helix-mirror/runtime/queries/just/textobjects.scm
RoloEdits 6eae846197
feat(languages): update just grammar and queries (#11306)
* feat(languages): update `just` grammar and queries

Bump the

* refactor(syntax): inject shebang by id not name

---------

Co-authored-by: Trevor Gross <tmgross@umich.edu>
2024-07-28 15:54:10 +02:00

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