on 2fbf833 help sign in
helix/runtime/queries/python/textobjects.scm
18 lines 454 B history raw
1(function_definition
2 body: (block)? @function.inside) @function.around
4(class_definition
5 body: (block)? @class.inside) @class.around
7(parameters
8 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
9
10(lambda_parameters
11 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
13(argument_list
14 ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
16(comment) @comment.inside
18(comment)+ @comment.around