From 27b78130252be59416f0ce29111e59a2de99b93e Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Fri, 18 Jan 2019 12:16:58 +0100 Subject: cleanup: reduce some duplicate code, avoid function pointers for a condition Add 'multiline' flag to history for correct :messages output Use larger buffer size for multiline messages. if this turns out to not be enough, we could do size calculation like api_set_error --- src/nvim/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 4eeddf1d5a..200995bbeb 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2155,7 +2155,7 @@ win_found: } else if (!msg_scrolled && shortmess(SHM_OVERALL)) { msg_scroll = false; } - msg_attr_keep(IObuff, 0, true); + msg_attr_keep(IObuff, 0, true, false); msg_scroll = (int)i; } } else { -- cgit