From f181efdeaf07a788203b60a2df915118eeb6f0fc Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 8 Oct 2018 21:12:20 -0400 Subject: 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 --- src/nvim/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/message.c') 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() } -- cgit