]> git.phdru.name Git - dotfiles.git/commitdiff
.vimrc: Add more dark terminals
authorOleg Broytman <phd@phdru.name>
Mon, 21 Oct 2019 12:03:13 +0000 (15:03 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 21 Oct 2019 12:03:13 +0000 (15:03 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index 4bb96bc4ba1914ff8461dd3f50d67f58d5a8911d..1138c837bf5f7437096a23b0e4b4f537d25b0e0f 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -233,7 +233,8 @@ if has("gui_running")
    " ----------
 
 else
-   if (&term =~ "linux") || ($BACKGROUND == 'DARK') || ($BACKGROUND == 'dark')
+   if (&term =~ "linux") || (&term =~ "cygwin") || (&term =~ "putty")
+         \ || ($BACKGROUND == 'DARK') || ($BACKGROUND == 'dark')
          \ || has("win32")
       " Background of the terminal is black or dark grey
       set background=dark