Add conditional text objects

This commit is contained in:
Bruno BELANYI 2022-06-04 10:46:04 +02:00
parent c31f249d4a
commit 0bb177a05e

View file

@ -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
; }}}