aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rescript/textobjects.scm
blob: fa1c4ff0d3c9a3a39214f1167fa89fe3efa6c663 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Classes (modules)
;------------------

(module_declaration definition: ((_) @class.inside)) @class.around

; Functions
;----------

(function body: (_) @function.inside) @function.around

; Comments
;---------

(comment) @comment.inside

(comment)+ @comment.around