aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-09 13:41:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-09 13:41:18 +1200
commit5213e298ce70fc27b69643151d4609adf565036c (patch)
tree44d7884101d90180f028ad818c82ee0a980aa7c2 /vim/vimrc
parentUse nested single quotes rather than double (diff)
downloaddotfiles-5213e298ce70fc27b69643151d4609adf565036c.tar.gz
dotfiles-5213e298ce70fc27b69643151d4609adf565036c.zip
Use more idiomatic approach to get() defaulting
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ecce5812..986c2afc 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
-" Last updated: Fri, 08 May 2020 08:47:55 UTC
+" Last updated: Fri, 08 May 2020 11:31:29 UTC
"
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -939,7 +939,7 @@ autocmd vimrc ColorScheme *
" environment variable COLORFGBG or a response in v:termrbgresp that would set
" it specifically.
"
-if !exists('$COLORFGBG') && get(v:, 'termrbgresp', '') ==# ''
+if !exists('$COLORFGBG') && !get(v:, 'termrbgresp')
set background=dark
endif