commit 30f2fdc167cbce275e773f8c135ac62da11215f6 (patch)
parent 99d069719020a4488e6bc07bbedcd1dffe5d77f4
Author: Alexander Karle <akarle@umass.edu>
Date: Tue, 10 Apr 2018 00:09:04 -0400
Only set termguicolors if a gui theme installed!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/theme.vim b/vim/theme.vim
@@ -20,11 +20,11 @@ endif
" if can use truecolor, do
if (has("termguicolors"))
- set termguicolors
" load colorscheme if plugins installed
if filereadable(expand("~/.vim/bundle/vim-one/colors/one.vim"))
let g:one_allow_italics = 1
+ set termguicolors
colorscheme one
" reverse one-dark's fold colors
highlight Folded guibg=#282c34 guifg=#5c6370