Avoid setting background' unnecessarily
This commit is contained in:
parent
e42c3a0ae8
commit
d2ddb5d7e6
|
@ -8,10 +8,15 @@
|
||||||
" Setup {{{1
|
" Setup {{{1
|
||||||
hi clear
|
hi clear
|
||||||
|
|
||||||
|
if has("gui_running") && &background !=# 'dark'
|
||||||
|
set background=dark
|
||||||
|
endif
|
||||||
|
|
||||||
if exists('syntax_on')
|
if exists('syntax_on')
|
||||||
syntax reset
|
syntax reset
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Options {{{1
|
||||||
if !exists('g:spacegray_underline_search')
|
if !exists('g:spacegray_underline_search')
|
||||||
let g:spacegray_underline_search = 0
|
let g:spacegray_underline_search = 0
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue