mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 02:51:48 +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:
@@ -743,6 +743,7 @@ func Test_set_option_errors()
|
||||
call assert_fails('set backupcopy=', 'E474:')
|
||||
call assert_fails('set regexpengine=3', 'E474:')
|
||||
call assert_fails('set history=10001', 'E474:')
|
||||
call assert_fails('set msghistory=10001', 'E474:')
|
||||
call assert_fails('set numberwidth=21', 'E474:')
|
||||
call assert_fails('set colorcolumn=-a', 'E474:')
|
||||
call assert_fails('set colorcolumn=a', 'E474:')
|
||||
@@ -756,6 +757,7 @@ func Test_set_option_errors()
|
||||
endif
|
||||
call assert_fails('set helpheight=-1', 'E487:')
|
||||
call assert_fails('set history=-1', 'E487:')
|
||||
call assert_fails('set msghistory=-1', 'E487:')
|
||||
call assert_fails('set report=-1', 'E487:')
|
||||
call assert_fails('set shiftwidth=-1', 'E487:')
|
||||
call assert_fails('set sidescroll=-1', 'E487:')
|
||||
|
||||
Reference in New Issue
Block a user