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

17 lines
267 B
Scheme

; Classes (modules)
;------------------
(module_declaration definition: ((_) @class.inside)) @class.around
; Functions
;----------
(function body: (_) @function.inside) @function.around
; Comments
;---------
(comment) @comment.inside
(comment)+ @comment.around