mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:9.0.2133: Cannot detect overstrike mode in Cmdline mode (#26263)
Problem: Cannot detect overstrike mode in Cmdline mode
Solution: Make mode() return "cr" for overstrike
closes: vim/vim#13569
d1c3ef1f47
This commit is contained in:
@@ -1835,8 +1835,10 @@ static int command_line_handle_key(CommandLineState *s)
|
||||
case K_INS:
|
||||
case K_KINS:
|
||||
ccline.overstrike = !ccline.overstrike;
|
||||
|
||||
ui_cursor_shape(); // may show different cursor shape
|
||||
may_trigger_modechanged();
|
||||
status_redraw_curbuf();
|
||||
redraw_statuslines();
|
||||
return command_line_not_changed(s);
|
||||
|
||||
case Ctrl_HAT:
|
||||
|
Reference in New Issue
Block a user