From 6732ec09945afc54cd6bb1003372da882645e2f6 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 4 Jun 2022 10:58:14 +0200 Subject: [PATCH] Add loop indents --- queries/indents.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/queries/indents.scm b/queries/indents.scm index 276ab5a..0a8b66f 100644 --- a/queries/indents.scm +++ b/queries/indents.scm @@ -2,6 +2,12 @@ (if_expression consequence: (_) @indent) "else" @branch + +(while_expression + body: (_) @indent) + +(for_expression + body: (_) @indent) ; }}} ; Misc{{{