From 30f2fdc167cbce275e773f8c135ac62da11215f6 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Tue, 10 Apr 2018 00:09:04 -0400 Subject: [PATCH] Only set termguicolors if a gui theme installed! --- vim/theme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/theme.vim b/vim/theme.vim index 50802e6..ebbc0b3 100644 --- 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 -- libgit2 0.28.4