Skip to content

Commit 02fd97c

Browse files
committed
fix(lua): exclude comments in do blocks
1 parent 59f318a commit 02fd97c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

queries/lua/context.scm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
body: (_) @context.end
77
) @context
88

9-
(do_statement
10-
body: (_) @context.end
11-
) @context
9+
(do_statement) @context
1210

1311
(function_definition
1412
parameters: (_)

0 commit comments

Comments
 (0)