Add conditional text objects
This commit is contained in:
parent
c31f249d4a
commit
0bb177a05e
|
@ -9,6 +9,12 @@
|
|||
arguments: ((_) @call.inner)*) @call.outer
|
||||
; }}}
|
||||
|
||||
; Control flow {{{
|
||||
(if_expression
|
||||
consequence: (_) @conditional.inner
|
||||
alternative: (_)? @conditional.inner) @conditional.outer
|
||||
; }}}
|
||||
|
||||
; Misc {{{
|
||||
(comment) @comment.outer
|
||||
; }}}
|
||||
|
|
Loading…
Reference in a new issue