summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-06-25 11:48:54 +0200
committerBram Moolenaar <Bram@vim.org>2014-06-25 11:48:54 +0200
commit78159bbf9e241f162b1243853f45d08a3d81f1be (patch)
tree9e2d9def09f36f4c3c3a9842b2a8bb9b388825a6 /runtime
parente8d1f20cbd425e33e4fcc09d46f98e5c9e6a833e (diff)
updated for version 7.4.336v7.4.336
Problem: Setting 'history' to a big value causes out-of-memory errors. Solution: Limit the value to 10000. (Hirohito Higashi)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 71280f204a..6a2ad89a39 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3920,12 +3920,13 @@ A jump table for the options with a short description can be found at |Q_op|.
NOTE: This option is reset when 'compatible' is set.
*'history'* *'hi'*
-'history' 'hi' number (Vim default: 20, Vi default: 0)
+'history' 'hi' number (Vim default: 50, Vi default: 0)
global
{not in Vi}
A history of ":" commands, and a history of previous search patterns
- are remembered. This option decides how many entries may be stored in
+ is remembered. This option decides how many entries may be stored in
each of these histories (see |cmdline-editing|).
+ The maximum value is 10000.
NOTE: This option is set to the Vi default value when 'compatible' is
set and to the Vim default value when 'compatible' is reset.