Add loop text objects
This commit is contained in:
parent
0bb177a05e
commit
e8883aaf5d
|
@ -13,6 +13,12 @@
|
|||
(if_expression
|
||||
consequence: (_) @conditional.inner
|
||||
alternative: (_)? @conditional.inner) @conditional.outer
|
||||
|
||||
(while_expression
|
||||
body: (_) @loop.inner) @loop.outer
|
||||
|
||||
(for_expression
|
||||
body: (_) @loop.inner) @loop.outer
|
||||
; }}}
|
||||
|
||||
; Misc {{{
|
||||
|
|
Loading…
Reference in a new issue