Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ohm/textobjects.scm')
| -rw-r--r-- | runtime/queries/ohm/textobjects.scm | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/runtime/queries/ohm/textobjects.scm b/runtime/queries/ohm/textobjects.scm deleted file mode 100644 index 855ad8de..00000000 --- a/runtime/queries/ohm/textobjects.scm +++ /dev/null @@ -1,40 +0,0 @@ -; See: https://docs.helix-editor.com/guides/textobject.html - -; function.inside & around -; ------------------------ - -(rule - body: (_) @function.inside) @function.around - -; class.inside & around -; --------------------- - -(grammar - body: (_) @class.inside) @class.around - -; parameter.inside & around -; ------------------------- - -(formals - ((_) @parameter.inside . ","? @parameter.around) @parameter.around) - -(rule_body - ((_) @parameter.inside . "|"? @parameter.around) @parameter.around) - -(params - ((_) @parameter.inside . ","? @parameter.around) @parameter.around) - -(alt - ((_) @parameter.inside . "|"? @parameter.around) @parameter.around) - -; comment.inside -; -------------- - -(multiline_comment)+ @comment.inside -(singleline_comment)+ @comment.inside - -; comment.around -; -------------- - -(multiline_comment)+ @comment.around -(singleline_comment)+ @comment.around |