mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
vim-patch:9.1.0864: message history is fixed to 200 (#31215)
Problem: message history is fixed to 200
Solution: Add the 'msghistory' option, increase the default
value to 500 (Shougo Matsushita)
closes: vim/vim#16048
4bd9b2b246
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -981,7 +981,7 @@ static void add_msg_hist_multihl(const char *s, int len, int hl_id, bool multili
|
||||
}
|
||||
|
||||
// Don't let the message history get too big
|
||||
while (msg_hist_len > MAX_MSG_HIST_LEN) {
|
||||
while (msg_hist_len > p_mhi) {
|
||||
delete_first_msg();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user