From: Tony Duckles Date: Sat, 23 Dec 2017 04:23:19 +0000 (-0600) Subject: .vimrc: Use g:solarized_termcolors=256 if supported X-Git-Url: http://git.nynim.org/dotfiles.git/commitdiff_plain/17aa5c777e1c6b292faae78c0b0efb705ed6c2d6 .vimrc: Use g:solarized_termcolors=256 if supported --- diff --git a/.vimrc b/.vimrc index d0c5145..9ed9ed1 100644 --- a/.vimrc +++ b/.vimrc @@ -76,6 +76,9 @@ if &t_Co > 2 || has("gui_running") syntax enable " syntax highligting let g:solarized_termtrans=1 " always use terminal's default bg color + if &t_Co == 256 + let g:solarized_termcolors=256 " use 256 colors for solarized + endif colorscheme solarized let g:airline_theme='solarized16' " vim-airline theme let g:solarized16_termcolors=16 " always use 16 colors for 'solarized16' vim-airline theme