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 0f051e9 commit 516b4ebCopy full SHA for 516b4eb
queries/starlark/textobjects.scm
@@ -0,0 +1,18 @@
1
+(function_definition
2
+ body: (block)? @function.inner) @function.outer
3
+
4
+(while_statement
5
+ body: (block)? @loop.inner) @loop.outer
6
7
+(for_statement
8
9
10
+(if_statement
11
+ alternative: (_
12
+ (_) @conditional.inner)?) @conditional.outer
13
14
15
+ consequence: (block)? @conditional.inner)
16
17
18
+ condition: (_) @conditional.inner)
0 commit comments