mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
clipboard: adjust v:register when clipboard=unnamed
Helped-By: Nicolas Hillegeer <nicolas@hillegeer.com> Helped-By: Michael Reed <m.reed@mykolab.com>
This commit is contained in:
@@ -914,7 +914,7 @@ getcount:
|
||||
&& !oap->op_type
|
||||
&& (idx < 0 || !(nv_cmds[idx].cmd_flags & NV_KEEPREG))) {
|
||||
clearop(oap);
|
||||
set_reg_var(0);
|
||||
set_reg_var(get_default_register_name());
|
||||
}
|
||||
|
||||
/* Get the length of mapped chars again after typing a count, second
|
||||
|
Reference in New Issue
Block a user