We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71385f1 commit 5519178Copy full SHA for 5519178
queries/ocaml/textobjects.scm
@@ -1,6 +1,6 @@
1
-(value_definition
2
- (let_binding
3
- body: (_) @function.inner)) @function.outer
+((value_definition
+ (let_binding body: (_) @function.inner)) @_fun_start @_fun_end
+ ("in")? @_fun_end (#make-range! "function.outer" @_fun_start @_fun_end))
4
5
(method_definition
6
body: (_) @function.inner) @function.outer
0 commit comments