diff options
| author | John Isom <John.Isom2001@gmail.com> | 2020-07-27 20:48:10 -0600 |
|---|---|---|
| committer | John Isom <John.Isom2001@gmail.com> | 2020-07-27 20:48:10 -0600 |
| commit | 8c9afa8a91900dcb0dd42d293e0bcd0ca4491b53 (patch) | |
| tree | f9d048e4f30f10db9f576fbcfd9196da926e90f4 | |
| parent | f958a318c196b5dfcd6285a8b08b59d4282b5edb (diff) | |
Simplify closing brace indentation
Edits same line as previous commit. I replaced a complex selection command
with a simple 1-keystroke alternative.
| -rw-r--r-- | rc/filetype/json.kak | 2 |
1 files changed, 1 insertions, 1 deletions
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 <a-h> <a-k> ^\h+[\]}]$ <ret> m s \A|.\z <ret> 1<a-&> > + try %< execute-keys -draft <a-h> <a-k> ^\h+[\]}]$ <ret> m <a-S> 1<a-&> > > > |
