Skip to content

Commit

Permalink
Merge pull request #14 from farisachugthai/farisachugthai-patch-1
Browse files Browse the repository at this point in the history
Check mutually exclusive vars  independently
  • Loading branch information
rbong authored May 28, 2019
2 parents 38b21a9 + 9ed5443 commit fe59ccf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions colors/gruvbox.vim
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,10 @@ if exists('g:gruvbox_contrast')
echo 'g:gruvbox_contrast is deprecated; use g:gruvbox_contrast_light and g:gruvbox_contrast_dark instead'
endif

if !exists('g:gruvbox_contrast_dark')
if !exists('g:gruvbox_contrast_dark') && !exists('g:gruvbox_contrast_light')
let g:gruvbox_contrast_dark='medium'
endif

if !exists('g:gruvbox_contrast_light')
let g:gruvbox_contrast_light='medium'
endif

let s:is_dark=(&background == 'dark')

" }}}
Expand Down

0 comments on commit fe59ccf

Please sign in to comment.