diff --git a/runtime/queries/java/textobjects.scm b/runtime/queries/java/textobjects.scm index a932c7934..b0e73a0a7 100644 --- a/runtime/queries/java/textobjects.scm +++ b/runtime/queries/java/textobjects.scm @@ -1,4 +1,7 @@ (method_declaration + body: (_)? @function.inside) @function.around + +(constructor_declaration body: (_) @function.inside) @function.around (interface_declaration