mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:9.1.0883: message history cleanup is missing some tests (#31331)
Problem: message history cleanup is missing some tests
Solution: Add tests, refactor common code into did_set_msghistory()
(Shougo Matsushita)
closes: vim/vim#16078
9f860a14c3
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -5894,10 +5894,12 @@ return {
|
||||
},
|
||||
{
|
||||
abbreviation = 'mhi',
|
||||
cb = 'did_set_msghistory',
|
||||
defaults = { if_true = 500 },
|
||||
desc = [=[
|
||||
Determines how many entries are remembered in the |:messages| history.
|
||||
The maximum value is 10000.
|
||||
Setting it to zero clears the message history.
|
||||
]=],
|
||||
full_name = 'msghistory',
|
||||
scope = { 'global' },
|
||||
|
Reference in New Issue
Block a user