summaryrefslogtreecommitdiffstats
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-10 17:18:44 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-10 17:18:44 +0200
commit446beb48d9795843c94860d7f62bdc7374aae1dd (patch)
tree20e64deaab382991a99d6d963e3ae22f13dba2d9 /runtime/doc/options.txt
parent1c2b2c12bb6883c2fbae239b99c8113ec546a855 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index a367e06b75..6ba21febed 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.3. Last change: 2011 Apr 15
+*options.txt* For Vim version 7.3. Last change: 2011 Apr 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -815,7 +815,7 @@ A jump table for the options with a short description can be found at |Q_op|.
been set.
*'background'* *'bg'*
-'background' 'bg' string (default "dark" or "light")
+'background' 'bg' string (default "dark" or "light", see below)
global
{not in Vi}
When set to "dark", Vim will try to use colors that look good on a
@@ -849,6 +849,12 @@ A jump table for the options with a short description can be found at |Q_op|.
color). To get around this, force the GUI window to be opened by
putting a ":gui" command in the .gvimrc file, before where the value
of 'background' is used (e.g., before ":syntax on").
+
+ For MS-DOS, Windows and OS/2 the default is "dark".
+ For other systems "dark" is used when 'term' is "linux",
+ "screen.linux", "cygwin" or "putty", or $COLORFGBG suggests a dark
+ background. Otherwise the default is "light".
+
Normally this option would be set in the .vimrc file. Possibly
depending on the terminal name. Example: >
:if &term == "pcterm"
@@ -3094,7 +3100,7 @@ A jump table for the options with a short description can be found at |Q_op|.
closed. Also for manually closed folds. With the default value of
one a fold can only be closed if it takes up two or more screen lines.
Set to zero to be able to close folds of just one screen line.
- Note that this only has an effect of what is displayed. After using
+ Note that this only has an effect on what is displayed. After using
"zc" to close a fold, which is displayed open because it's smaller
than 'foldminlines', a following "zc" may close a containing fold.