From 5284196cb36af44c63a8f6d561768c86ce18c84e Mon Sep 17 00:00:00 2001 From: John Isom Date: Wed, 29 Jul 2020 17:02:54 -0600 Subject: [PATCH] Update deindentation in cue.kak --- rc/filetype/cue.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/cue.kak b/rc/filetype/cue.kak index 85a9f318..ab46059e 100644 --- a/rc/filetype/cue.kak +++ b/rc/filetype/cue.kak @@ -137,7 +137,7 @@ define-command -hidden cue-indent-on-new-line %~ # indent after lines ending with [{(].+ and move first parameter to own line try %< execute-keys -draft [c[({],[)}] \A[({][^\n]+\n[^\n]*\n?\z L i > # deindent closing brace(s) when after cursor - try %< execute-keys -draft ^\h*[})]+\h*$ hm 1 > + try %< execute-keys -draft ^\h*[})] gh / [})] m 1 > | # filter previous line try %{ execute-keys -draft k : cue-trim-indent }