diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-18 12:16:58 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-01-23 19:34:13 +0100 |
commit | 27b78130252be59416f0ce29111e59a2de99b93e (patch) | |
tree | ddf8704390fa4fccfa42010d4adb62766690f4d9 /src/nvim/quickfix.c | |
parent | 67bac681ea6b38b458ad0b7b10f2a9dce85baef0 (diff) | |
download | rneovim-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.c | 2 |
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 { |