Skip to content

Commit a10506c

Browse files
committed
fix(c_sharp): @function doesn't match on empty body of method/constructor
if @function.inner does not allow empty body, one cannot jump by @function.outer to it
1 parent 1b2d85d commit a10506c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

queries/c_sharp/textobjects.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
body: (block
3838
.
3939
"{"
40-
_+ @function.inner
40+
_* @function.inner
4141
"}")) @function.outer
4242

4343
(method_declaration
@@ -48,7 +48,7 @@
4848
body: (block
4949
.
5050
"{"
51-
_+ @function.inner
51+
_* @function.inner
5252
"}")) @function.outer
5353

5454
(lambda_expression

0 commit comments

Comments
 (0)