aboutsummaryrefslogtreecommitdiff
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-11-15 08:04:49 +0800
committerGitHub <noreply@github.com>2024-11-15 08:04:49 +0800
commitfa0dcde3d9f17f85baa9dd41aa751c123281ced3 (patch)
treeef8336f8d67f8dfb363cf9d755be7871ada567ca /runtime/optwin.vim
parent05d354e2165c2c331a33949d49095eef3503a32f (diff)
downloadrneovim-fa0dcde3d9f17f85baa9dd41aa751c123281ced3.tar.gz
rneovim-fa0dcde3d9f17f85baa9dd41aa751c123281ced3.tar.bz2
rneovim-fa0dcde3d9f17f85baa9dd41aa751c123281ced3.zip
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 https://github.com/vim/vim/commit/4bd9b2b2467e696061104a029000e9824c6c609e Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Co-authored-by: Milly <milly.ca@gmail.com>
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index da70ff1afe..48a4bd2816 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -626,6 +626,8 @@ call <SID>AddOption("terse", gettext("add 's' flag in 'shortmess' (don't show se
call <SID>BinOptionG("terse", &terse)
call <SID>AddOption("shortmess", gettext("list of flags to make messages shorter"))
call <SID>OptionG("shm", &shm)
+call <SID>AddOption("msghistory", gettext("how many messages are remembered"))
+call append("$", " \tset mhi=" . &mhi)
call <SID>AddOption("showcmd", gettext("show (partial) command keys in location given by 'showcmdloc'"))
let &sc = s:old_sc
call <SID>BinOptionG("sc", &sc)