Fix colorschemes

This commit is contained in:
Julian Ospald 2018-06-14 02:27:09 +02:00
parent 75731d35c2
commit 5960256ae0
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

31
vimrc
View File

@ -272,21 +272,15 @@ let g:BASH_Ctrl_j = 'off'
"set t_Co=256 "set t_Co=256
"let g:solarized_termcolors=256 "let g:solarized_termcolors=256
if has('gui_running') if has('gui_running')
if has("nvim") set background=dark
let g:neosolarized_contrast = "normal" colorscheme solarized
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
else 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_contrast = "normal"
let g:neosolarized_visibility = "normal" let g:neosolarized_visibility = "normal"
let g:neosolarized_vertSplitBgTrans = 0 let g:neosolarized_vertSplitBgTrans = 0
@ -296,10 +290,17 @@ else
set background=dark set background=dark
colorscheme NeoSolarized colorscheme NeoSolarized
else 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 set background=dark
colorscheme solarized colorscheme NeoSolarized
endif endif
endif endif
" =========================== " ===========================
" Solarized stuff " Solarized stuff