diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 18:44:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 18:44:41 -0500 |
commit | f3a8c930a4b901c5313701849e7010f098bf22e6 (patch) | |
tree | 125cace41e958056812accbeb5876e154a1be85d /src/nvim/ex_cmds.c | |
parent | 74b343a6f23de43590ab79750848f66e2fa9a7f7 (diff) | |
parent | b01a60b1aaaa6152b58af96c5054f697bbc3a31e (diff) | |
download | rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.tar.gz rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.tar.bz2 rneovim-f3a8c930a4b901c5313701849e7010f098bf22e6.zip |
Merge pull request #13653 from janlazo/revert-10848
Revert #10848
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index a7d97c904b..ae389a6727 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3713,9 +3713,8 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout, redraw_later(curwin, SOME_VALID); curwin->w_p_fen = save_p_fen; - if (msg_row == Rows - 1) { - msg_didout = false; // avoid a scroll-up - } + if (msg_row == Rows - 1) + msg_didout = FALSE; /* avoid a scroll-up */ msg_starthere(); i = msg_scroll; msg_scroll = 0; /* truncate msg when @@ -3734,8 +3733,8 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout, typed = plain_vgetc(); no_mapping--; - // clear the question - msg_didout = false; // don't scroll up + /* clear the question */ + msg_didout = FALSE; /* don't scroll up */ msg_col = 0; gotocmdline(TRUE); |