From 0063e4c4f5566a3c8d50cbc03702e540d91182cd Mon Sep 17 00:00:00 2001 From: John Isom Date: Sat, 1 Aug 2020 09:55:15 -0600 Subject: [PATCH] Collapse 'try %{ execute-keys ... }' blocks to one line --- rc/filetype/crystal.kak | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rc/filetype/crystal.kak b/rc/filetype/crystal.kak index 6bbf35da..3482b80b 100644 --- a/rc/filetype/crystal.kak +++ b/rc/filetype/crystal.kak @@ -181,13 +181,9 @@ evaluate-commands %sh[ define-command -hidden crystal-indent-on-new-line %{ evaluate-commands -no-hooks -draft -itersel %{ # Copy previous line indent - try %{ - execute-keys -draft 'K' - } + try %{ execute-keys -draft 'K' } # Remove empty line indent - try %{ - execute-keys -draft 'ks^\h+$d' - } + try %{ execute-keys -draft 'ks^\h+$d' } } }