diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 1b1402f3..9cdd5c49 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -80,7 +80,7 @@ define-command -hidden c-family-insert-on-closing-curly-brace %[ define-command -hidden c-family-insert-on-newline %[ evaluate-commands -itersel -draft %[ execute-keys \; try %[ - evaluate-commands -draft %[ + evaluate-commands -draft -save-regs '/"' %[ # copy the commenting prefix execute-keys -save-regs '' k 1s^\h*(//+\h*) y try %[