Avoid setting background' unnecessarily

This commit is contained in:
Akshay Hegde 2020-12-22 22:06:05 -08:00
parent e42c3a0ae8
commit d2ddb5d7e6
No known key found for this signature in database
GPG Key ID: BA511FD61E9C5108
1 changed files with 5 additions and 0 deletions

View File

@ -8,10 +8,15 @@
" Setup {{{1
hi clear
if has("gui_running") && &background !=# 'dark'
set background=dark
endif
if exists('syntax_on')
syntax reset
endif
" Options {{{1
if !exists('g:spacegray_underline_search')
let g:spacegray_underline_search = 0
endif