1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-08 21:06:21 +01:00
helix/runtime/queries/picat/textobjects.scm
2026-01-29 09:32:32 -06:00

27 lines
620 B
Scheme

[
(function_definition
[(function_rule) (function_fact)] @function.inside)
(predicate_definition
[(predicate_rule) (predicate_fact)] @function.inside)
(actor_definition
[(action_rule) (nonbacktrackable_predicate_rule)] @function.inside)
] @function.around
(import_declaration
(atom) @function.around)
(parameters
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(arguments
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside
(comment)+ @comment.around
(array_expression
(_) @entry.around)
(list_expression
(_) @entry.around)