aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
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 64ad2d2956..ea56633c77 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4295,6 +4295,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global
Determines how many entries are remembered in the |:messages| history.
The maximum value is 10000.
+ Setting it to zero clears the message history.
*'nrformats'* *'nf'*
'nrformats' 'nf' string (default "bin,hex")
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index e485009ca2..c635d9bd3b 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -4381,6 +4381,7 @@ vim.go.mouset = vim.go.mousetime
--- Determines how many entries are remembered in the `:messages` history.
--- The maximum value is 10000.
+--- Setting it to zero clears the message history.
---
--- @type integer
vim.o.msghistory = 500