From 8c9afa8a91900dcb0dd42d293e0bcd0ca4491b53 Mon Sep 17 00:00:00 2001 From: John Isom Date: Mon, 27 Jul 2020 20:48:10 -0600 Subject: [PATCH] Simplify closing brace indentation Edits same line as previous commit. I replaced a complex selection command with a simple 1-keystroke alternative. --- rc/filetype/json.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/json.kak b/rc/filetype/json.kak index 4e7ef874..d5a0b8c5 100644 --- a/rc/filetype/json.kak +++ b/rc/filetype/json.kak @@ -49,7 +49,7 @@ define-command -hidden json-trim-indent %{ define-command -hidden json-indent-on-char %< evaluate-commands -draft -itersel %< # align closer token to its opener when alone on a line - try %< execute-keys -draft ^\h+[\]}]$ m s \A|.\z 1 > + try %< execute-keys -draft ^\h+[\]}]$ m 1 > > >