If you don't use a solarized terminal, you have to set g:yadr_using_unsolarized_terminal now [Ref #487]

This commit is contained in:
Yan Pritzker 2014-07-03 17:11:41 -04:00
parent 61c66ea3b7
commit 86350a58f8
2 changed files with 6 additions and 9 deletions

View File

@ -1,7 +1,3 @@
if !has("gui_macvim")
set t_Co=256
endif
if !exists("g:yadr_disable_solarized_enhancements")
hi! link txtBold Identifier
hi! link zshVariableDef Identifier

View File

@ -18,13 +18,14 @@ if has("gui_running")
set guifont=Inconsolata\ XL:h17,Inconsolata:h20,Monaco:h17
end
else
"dont load csapprox if we no gui support - silences an annoying warning
let g:CSApprox_loaded = 1
let g:solarized_termcolors=256
let g:solarized_termtrans=1
" For people using a terminal that is not Solarized
if exists("g:yadr_using_unsolarized_terminal")
let g:solarized_termcolors=256
let g:solarized_termtrans=1
end
endif
" http://ethanschoonover.com/solarized/vim-colors-solarized
colorscheme solarized
set background=dark