diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-10-08 21:12:20 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-10-08 21:14:07 -0400 |
commit | f181efdeaf07a788203b60a2df915118eeb6f0fc (patch) | |
tree | 7c27931728dedf33b7f733175e6c1015d848361c /src/nvim/message.c | |
parent | 573567aef6c62728378394af9767ecf65622ea42 (diff) | |
download | rneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.tar.gz rneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.tar.bz2 rneovim-f181efdeaf07a788203b60a2df915118eeb6f0fc.zip |
vim-patch:8.1.0466: autocmd test fails
Problem: Autocmd test fails.
Solution: Do call inchar() when flushing typeahead.
https://github.com/vim/vim/commit/6a2633b00bb00bcf0d994f08d1c54ace2c221b58
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index fc7396d318..1778e0048f 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -552,7 +552,7 @@ int emsg(const char_u *s_) if (p_eb) { beep_flush(); // also includes flush_buffers() } else { - flush_buffers(false); // flush internal buffers + flush_buffers(FLUSH_MINIMAL); // flush internal buffers } did_emsg = true; // flag for DoOneCmd() } |