summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-04 23:39:37 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-04 23:39:37 +0000
commit19a09a189379659b917cf5ccff78f3e5ec061015 (patch)
tree806d594bf7af04ef956c0c96ad64adfcd96325dc /src/option.c
parent7383034c0ab657158c4c69146254beffdea4859e (diff)
downloadvim-git-19a09a189379659b917cf5ccff78f3e5ec061015.tar.gz
updated for version 7.0055v7.0055
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index 5cf1b4620..e7210b3f9 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3149,11 +3149,13 @@ set_init_2()
* with a dark background, that can handle color. Recognized are:
* "linux" Linux console
* "screen.linux" Linux console with screen
+ * "cygwin" Cygwin shell
*/
idx = findoption((char_u *)"bg");
if (!(options[idx].flags & P_WAS_SET)
&& (STRCMP(T_NAME, "linux") == 0
- || STRCMP(T_NAME, "screen.linux") == 0))
+ || STRCMP(T_NAME, "screen.linux") == 0
+ || STRCMP(T_NAME, "cygwin") == 0))
{
set_string_option_direct(NULL, idx, (char_u *)"dark", OPT_FREE);
/* don't mark it as set, when starting the GUI it may be changed