mirror of
https://github.com/neovim/neovim.git
synced 2025-11-29 21:50:38 +00:00
fix(substitute): properly check for empty command line
This commit is contained in:
@@ -2330,8 +2330,6 @@ static int vgetorpeek(bool advance)
|
||||
// cmdline window.
|
||||
if (p_im && (State & INSERT)) {
|
||||
c = Ctrl_L;
|
||||
} else if ((State & CMDLINE) && exmode_active) {
|
||||
c = '\n';
|
||||
} else if ((State & CMDLINE) || (cmdwin_type > 0 && tc == ESC)) {
|
||||
c = Ctrl_C;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user