Fix register saving post -save-regs behaviour change
This commit is contained in:
parent
b5dd9f4094
commit
cad5f37efd
|
@ -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 %[
|
||||
|
|
Loading…
Reference in New Issue
Block a user