forked from aniani/vim
patch 9.0.2133: Cannot detect overstrike mode in Cmdline mode
Problem: Cannot detect overstrike mode in Cmdline mode Solution: Make mode() return "cr" for overstrike closes: #13569 Signed-off-by: Sam-programs <None> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5c23343770
commit
d1c3ef1f47
@@ -720,6 +720,8 @@ get_mode(char_u *buf)
|
||||
buf[i++] = 'v';
|
||||
else if (exmode_active == EXMODE_NORMAL)
|
||||
buf[i++] = 'e';
|
||||
if ((State & MODE_CMDLINE) && cmdline_overstrike())
|
||||
buf[i++] = 'r';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user