mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Merge pull request #17166 from Shougo/vim-8.2.4160
vim-patch:8.2.4160: cannot change the register used for Select mode d…
This commit is contained in:
@@ -1435,6 +1435,11 @@ int op_delete(oparg_T *oap)
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (VIsual_select && oap->is_VIsual) {
|
||||
// Use the register given with CTRL_R, defaults to zero
|
||||
oap->regname = VIsual_select_reg;
|
||||
}
|
||||
|
||||
mb_adjust_opend(oap);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user