diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak index b6ec9925..2298737c 100644 --- a/rc/filetype/gluon.kak +++ b/rc/filetype/gluon.kak @@ -80,8 +80,8 @@ define-command -hidden gluon-trim-indent %{ define-command -hidden gluon-indent-on-new-line %{ evaluate-commands -draft -itersel %{ - # copy // comments prefix and following white spaces - try %{ execute-keys -draft k s ^\h*\K//\h* y gh j P } + # 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 try %{ execute-keys -draft \; K } # filter previous line