forked from aniani/vim
patch 8.2.3236: mode() does not indicate using CTRL-O in Select mode
Problem: mode() does not indicate using CTRL-O in Select mode. Solution: Use "vs" and similar. (closes #8640)
This commit is contained in:
@@ -652,7 +652,11 @@ f_mode(typval_T *argvars, typval_T *rettv)
|
||||
if (VIsual_select)
|
||||
buf[0] = VIsual_mode + 's' - 'v';
|
||||
else
|
||||
{
|
||||
buf[0] = VIsual_mode;
|
||||
if (restart_VIsual_select)
|
||||
buf[1] = 's';
|
||||
}
|
||||
}
|
||||
else if (State == HITRETURN || State == ASKMORE || State == SETWSIZE
|
||||
|| State == CONFIRM)
|
||||
|
Reference in New Issue
Block a user