aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0fc9d24b..c0729408 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1009,10 +1009,7 @@ autocmd vimrc ColorScheme sahara
" environment variable COLORFGBG or a response in v:termrbgresp that would set
" it specifically.
"
-if !exists('$COLORFGBG') && (
- \ !exists('v:termrbgresp')
- \ || v:termrbgresp ==# ''
- \ )
+if !exists('$COLORFGBG') && get(v:, 'termrbgresp', '') ==# ''
set background=dark
endif