diff --git a/vimrc b/vimrc index 9182cd5..6426ccd 100644 --- a/vimrc +++ b/vimrc @@ -272,21 +272,15 @@ let g:BASH_Ctrl_j = 'off' "set t_Co=256 "let g:solarized_termcolors=256 if has('gui_running') - if has("nvim") - let g:neosolarized_contrast = "normal" - let g:neosolarized_visibility = "normal" - let g:neosolarized_vertSplitBgTrans = 0 - let g:neosolarized_bold = 1 - let g:neosolarized_underline = 1 - let g:neosolarized_italic = 1 - set background=dark - colorscheme NeoSolarized - else - set background=dark - colorscheme solarized - endif + set background=dark + colorscheme solarized else - if has("nvim") + set background=dark + colorscheme solarized +endif + +if has("nvim") + if exists('g:GtkGuiLoaded') let g:neosolarized_contrast = "normal" let g:neosolarized_visibility = "normal" let g:neosolarized_vertSplitBgTrans = 0 @@ -296,10 +290,17 @@ else set background=dark colorscheme NeoSolarized else + let g:neosolarized_contrast = "normal" + let g:neosolarized_visibility = "normal" + let g:neosolarized_vertSplitBgTrans = 0 + let g:neosolarized_bold = 1 + let g:neosolarized_underline = 1 + let g:neosolarized_italic = 1 set background=dark - colorscheme solarized + colorscheme NeoSolarized endif endif + " =========================== " Solarized stuff