patch 8.2.3466: completion submode not indicated for virtual replace
Problem: Completion submode not indicated for virtual replace.
Solution: Add submode to "Rv". (closes #8945)
diff --git a/src/misc1.c b/src/misc1.c
index 8e21f1e..62eba02 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -675,6 +675,11 @@
{
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
{
@@ -682,6 +687,7 @@
buf[0] = 'R';
else
buf[0] = 'i';
+
if (ins_compl_active())
buf[1] = 'c';
else if (ctrl_x_mode_not_defined_yet())