mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:8.2.3466: completion submode not indicated for virtual replace (#15886)
Problem: Completion submode not indicated for virtual replace.
Solution: Add submode to "Rv". (closes vim/vim#8945)
cc8cd44533
This commit is contained in:
@@ -161,6 +161,11 @@ char *get_mode(void)
|
||||
if (State & VREPLACE_FLAG) {
|
||||
buf[0] = 'R';
|
||||
buf[1] = 'v';
|
||||
if (ins_compl_active()) {
|
||||
buf[2] = 'c';
|
||||
} else if (ctrl_x_mode_not_defined_yet()) {
|
||||
buf[2] = 'x';
|
||||
}
|
||||
} else {
|
||||
if (State & REPLACE_FLAG) {
|
||||
buf[0] = 'R';
|
||||
|
Reference in New Issue
Block a user