summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Isom <John.Isom2001@gmail.com>2020-08-01 09:55:15 -0600
committerJohn Isom <John.Isom2001@gmail.com>2020-08-01 09:55:15 -0600
commit0063e4c4f5566a3c8d50cbc03702e540d91182cd (patch)
treef6a20ca9e5d1fde6b34daebb51d433ca83e47b1c
parent73f5f32385f8147610e8413d19d94107bece0ccb (diff)
Collapse 'try %{ execute-keys ... }' blocks to one line
-rw-r--r--rc/filetype/crystal.kak8
1 files 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<a-&>'
- }
+ try %{ execute-keys -draft 'K<a-&>' }
# Remove empty line indent
- try %{
- execute-keys -draft 'k<a-x>s^\h+$<ret>d'
- }
+ try %{ execute-keys -draft 'k<a-x>s^\h+$<ret>d' }
}
}