From 820bd83a3d969c6ec2e48d0421e41cffcc7c0c95 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 7 Oct 2015 13:31:10 -0400 Subject: Fix vim color settings. --- vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index b8eac17..d0a4d0c 100755 --- a/vimrc +++ b/vimrc @@ -55,8 +55,11 @@ set guioptions-=M set guioptions-=T set guioptions-=r set guioptions-=L -set background=dark -colorscheme base16-tomorrow +if &t_Co > 255 || has('gui_running') + set background=dark + let base16colorspace=256 + colorscheme base16-tomorrow +endif set colorcolumn=81 -- cgit v1.2.3