aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-08 07:00:17 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-12-08 07:01:50 +0800
commitf3fa6507f2473d66a4c6172c82dec43bf55f8df6 (patch)
tree861d5a8e8547ce3c955aec0d4223b1986dd4b255 /runtime
parent668d2569b4109e7e83c45578c506c1c64dbd5e87 (diff)
downloadrneovim-f3fa6507f2473d66a4c6172c82dec43bf55f8df6.tar.gz
rneovim-f3fa6507f2473d66a4c6172c82dec43bf55f8df6.tar.bz2
rneovim-f3fa6507f2473d66a4c6172c82dec43bf55f8df6.zip
vim-patch:9.1.0910: 'messagesopt' does not check max wait time
Problem: 'messagesopt' does not check max wait time (after v9.1.0908) Solution: Check for max wait value (Shougo Matsushita) closes: vim/vim#16183 https://github.com/vim/vim/commit/d9e9f89e0ffd6e7ce5e2a7f8f1ace5471e37c210 Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt1
-rw-r--r--runtime/lua/vim/_meta/options.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 0db7b0f03c..7899f40e24 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4059,6 +4059,7 @@ A jump table for the options with a short description can be found at |Q_op|.
milliseconds so the user has a chance to read the
message, use 0 to disable sleep (but then the user may
miss an important message).
+ The maximum value is 10000.
history:{n} Determines how many entries are remembered in the
|:messages| history. The maximum value is 10000.
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 59d270e640..e38fa4a89f 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -4095,6 +4095,7 @@ vim.go.mis = vim.go.menuitems
--- milliseconds so the user has a chance to read the
--- message, use 0 to disable sleep (but then the user may
--- miss an important message).
+--- The maximum value is 10000.
---
--- history:{n} Determines how many entries are remembered in the
--- `:messages` history. The maximum value is 10000.