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

17 lines
267 B
Scheme
Raw Normal View History

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