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/swift/textobjects.scm

24 lines
431 B
Scheme

(class_declaration
body: (_) @class.inside) @class.around
(protocol_declaration
body: (_) @class.inside) @class.around
(function_declaration
body: (_) @function.inside) @function.around
(parameter
(_) @parameter.inside) @parameter.around
(lambda_parameter
(_) @parameter.inside) @parameter.around
[
(comment)
(multiline_comment)
] @comment.inside
(comment)+ @comment.around
(multiline_comment) @comment.around