diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-06-30 00:48:46 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-06-30 00:48:46 +1200 |
commit | abb8eff21d7c05cd22b3edba81ee1e8745c9236c (patch) | |
tree | 40c900ec4fafaa4f04a7ae23b151d00ab2c515ab | |
parent | Add missing space in vimrc conditional (diff) | |
download | dotfiles-abb8eff21d7c05cd22b3edba81ee1e8745c9236c.tar.gz dotfiles-abb8eff21d7c05cd22b3edba81ee1e8745c9236c.zip |
Explicitly cast terminal color count for comparing
Required by Vim script, which treats this value as a string, but a good
call anyway.
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -987,7 +987,7 @@ endif " it. " if &background ==# 'dark' - \ && (has('gui_running') || &t_Co >= 256) + \ && (has('gui_running') || str2nr(&t_Co) >= 256) \ && globpath(&runtimepath, 'colors/sahara.vim') !=# '' colorscheme sahara endif |