helix-mods/runtime/queries/python/textobjects.scm

18 lines
319 B
Scheme

(function_definition
body: (block)? @function.inside) @function.around
(class_definition
body: (block)? @class.inside) @class.around
(parameters
(_) @parameter.inside)
(lambda_parameters
(_) @parameter.inside)
(argument_list
(_) @parameter.inside)
(comment) @comment.inside
(comment)+ @comment.around