aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-08 07:35:58 +0800
committerGitHub <noreply@github.com>2024-12-08 07:35:58 +0800
commit4fcc5cd34a75df9a3088c83dc1a87aa6e37051e1 (patch)
tree8cb2e83275826cb83d4ffcd45d062fa7c653cf6a /runtime/lua/vim/_meta/options.lua
parent668d2569b4109e7e83c45578c506c1c64dbd5e87 (diff)
parent96329910b011414758380e3c27e32c0ae7f43e1e (diff)
downloadrneovim-4fcc5cd34a75df9a3088c83dc1a87aa6e37051e1.tar.gz
rneovim-4fcc5cd34a75df9a3088c83dc1a87aa6e37051e1.tar.bz2
rneovim-4fcc5cd34a75df9a3088c83dc1a87aa6e37051e1.zip
Merge pull request #31504 from zeertzjq/vim-9.1.0910
vim-patch:9.1.{0910,0911}: 'messagesopt' followup
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua17
1 files changed, 10 insertions, 7 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 59d270e640..7a8c3a6c29 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -4084,21 +4084,24 @@ vim.o.mis = vim.o.menuitems
vim.go.menuitems = vim.o.menuitems
vim.go.mis = vim.go.menuitems
---- Option settings when outputting messages. It can consist of the
+--- Option settings for outputting messages. It can consist of the
--- following items. Items must be separated by a comma.
---
---- hit-enter Use `hit-enter` prompt when the message is longer than
+--- hit-enter Use a `hit-enter` prompt when the message is longer than
--- 'cmdheight' size.
---
---- wait:{n} Ignored when "hit-enter" is present. Instead of using
---- `hit-enter` prompt, will simply wait for {n}
---- 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).
+--- wait:{n} Instead of using a `hit-enter` prompt, simply wait for
+--- {n} milliseconds so that the user has a chance to read
+--- the message. The maximum value of {n} is 10000. Use
+--- 0 to disable the wait (but then the user may miss an
+--- important message).
+--- This item is ignored when "hit-enter" is present, but
+--- required when "hit-enter" is not present.
---
--- history:{n} Determines how many entries are remembered in the
--- `:messages` history. The maximum value is 10000.
--- Setting it to zero clears the message history.
+--- This item must always be present.
---
--- @type string
vim.o.messagesopt = "hit-enter,history:500"