mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:9.0.0747: too many #ifdefs (#20641)
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes vim/vim#11330)
ba43e76fcd
This commit is contained in:
@@ -1132,6 +1132,7 @@ static int normal_execute(VimState *state, int key)
|
||||
if (s->need_flushbuf) {
|
||||
ui_flush();
|
||||
}
|
||||
|
||||
if (s->ca.cmdchar != K_IGNORE && s->ca.cmdchar != K_EVENT) {
|
||||
did_cursorhold = false;
|
||||
}
|
||||
@@ -3513,6 +3514,7 @@ static bool nv_z_get_count(cmdarg_T *cap, int *nchar_arg)
|
||||
no_mapping--;
|
||||
allow_keys--;
|
||||
(void)add_to_showcmd(nchar);
|
||||
|
||||
if (nchar == K_DEL || nchar == K_KDEL) {
|
||||
n /= 10;
|
||||
} else if (ascii_isdigit(nchar)) {
|
||||
@@ -3553,6 +3555,7 @@ static int nv_zg_zw(cmdarg_T *cap, int nchar)
|
||||
no_mapping--;
|
||||
allow_keys--;
|
||||
(void)add_to_showcmd(nchar);
|
||||
|
||||
if (vim_strchr("gGwW", nchar) == NULL) {
|
||||
clearopbeep(cap->oap);
|
||||
return OK;
|
||||
|
@@ -860,6 +860,7 @@ int showmode(void)
|
||||
if (redrawing() && last->w_status_height == 0 && global_stl_height() == 0) {
|
||||
win_redr_ruler(last, true);
|
||||
}
|
||||
|
||||
redraw_cmdline = false;
|
||||
redraw_mode = false;
|
||||
clear_cmdline = false;
|
||||
|
@@ -554,6 +554,7 @@ wingotofile:
|
||||
no_mapping--;
|
||||
allow_keys--;
|
||||
(void)add_to_showcmd(xchar);
|
||||
|
||||
switch (xchar) {
|
||||
case '}':
|
||||
xchar = Ctrl_RSB;
|
||||
|
Reference in New Issue
Block a user