1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-11 01:37:41 +03:00

Fix register saving post -save-regs behaviour change

This commit is contained in:
Maxime Coste 2018-05-15 21:33:54 +10:00
parent b5dd9f4094
commit cad5f37efd

View File

@ -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 <a-x>1s^\h*(//+\h*)<ret> y
try %[