From cc30131e16f44b14d288febd8e13308e8e88e64c Mon Sep 17 00:00:00 2001 From: John Isom Date: Wed, 29 Jul 2020 21:17:58 -0600 Subject: [PATCH] Fix my issues in gluon.kak --- rc/filetype/gluon.kak | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak index 10a2cc2f..d2e23644 100644 --- a/rc/filetype/gluon.kak +++ b/rc/filetype/gluon.kak @@ -78,8 +78,8 @@ define-command -hidden gluon-trim-indent %{ try %{ execute-keys -draft -itersel s \h+$ d } } -define-command -hidden gluon-indent-on-new-line %< - evaluate-commands -draft -itersel %< +define-command -hidden gluon-indent-on-new-line %~ + evaluate-commands -draft -itersel %_ # copy // and /// comments prefix and following white spaces try %{ execute-keys -draft k s ^\h*\K///?\h* y gh j P } # preserve previous line indent @@ -90,8 +90,8 @@ define-command -hidden gluon-indent-on-new-line %< # or in try %{ execute-keys -draft \; k x (\(|\{|\[|=|->|then|else|rec|in)$ j } # deindent closing brace(s) when after cursor - try %{ execute-keys -draft ^\h*[})\]] gh / [})\]] m 1 } - > -> + try %< execute-keys -draft ^\h*[})\]] gh / \})\]] m 1 > + _ +~ ยง