From a7c8577e7f5ec3a67284987a6edcbd33f00296b0 Mon Sep 17 00:00:00 2001 From: Trevor Heins Date: Wed, 18 May 2016 19:08:55 -0400 Subject: [PATCH] Fixing cygwin based on PR #168 --- colors/dracula.vim | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/colors/dracula.vim b/colors/dracula.vim index 8661faa..9c8fa52 100644 --- a/colors/dracula.vim +++ b/colors/dracula.vim @@ -8,7 +8,7 @@ " http://zenorocha.mit-license.org " " @author Trevor Heins <@heinst> -" @author Éverton Ribeiro +" @author Everton Ribeiro " @author Zeno Rocha set background=dark @@ -121,3 +121,18 @@ hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE hi TabLineFill guifg=#333333 guibg=#1e1f29 gui=none hi TabLine guifg=#666666 guibg=#1e1f29 gui=none hi TabLineSel guifg=WHITE guibg=#1e1f29 gui=none + +"------------------- +" +"cygwin has an annoying behavior where it resets background to light +"regardless of what is set above, so we force it yet again +" +"add these to get cygwin shell working when used to ssh into a centos6 vm +"this requires your TERM=xterm-256color in the guest vm +"- one way to do this is to append to /home/vagrant/.bash_profile ala: +" TERM=xterm-256color +" export $TERM + +execute "set background=dark" +highlight clear +"-------------------