aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-01-18 12:16:58 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-01-23 19:34:13 +0100
commit27b78130252be59416f0ce29111e59a2de99b93e (patch)
treeddf8704390fa4fccfa42010d4adb62766690f4d9 /src/nvim/quickfix.c
parent67bac681ea6b38b458ad0b7b10f2a9dce85baef0 (diff)
downloadrneovim-27b78130252be59416f0ce29111e59a2de99b93e.tar.gz
rneovim-27b78130252be59416f0ce29111e59a2de99b93e.tar.bz2
rneovim-27b78130252be59416f0ce29111e59a2de99b93e.zip
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
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
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 {