From 35f27030c3bec80c08ed6af49cdcf336c96772db Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 25 Jul 2020 19:59:40 +0200 Subject: [PATCH] sh.kak: fix don't always deindent around "done" Analogous to #3613 --- rc/filetype/sh.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/sh.kak b/rc/filetype/sh.kak index 35076d9c..b18ad0a5 100644 --- a/rc/filetype/sh.kak +++ b/rc/filetype/sh.kak @@ -108,7 +108,7 @@ define-command -hidden sh-indent-on-new-line %[ # indent after do try %{ execute-keys -draft k do$ j } # deindent after done - try %{ execute-keys -draft k done$ j K } + try %{ execute-keys -draft k done$ K j j K } # Indent if/then/else syntax, e.g.: # if [ $foo = $bar ]; then