diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak index d8ed662d..10a2cc2f 100644 --- a/rc/filetype/gluon.kak +++ b/rc/filetype/gluon.kak @@ -31,7 +31,7 @@ hook -group gluon-highlight global WinSetOption filetype=gluon %{ } -provide-module gluon %[ +provide-module gluon %§ # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ @@ -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 @@ -91,7 +91,7 @@ define-command -hidden gluon-indent-on-new-line %{ 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 } - } -} + > +> -] +§