termguicolors works properly in Vim 8.1 so let's use it

This commit is contained in:
Danielle McLean 2018-06-18 10:43:11 +10:00
parent 1849c14034
commit 32f034f58f
Signed by: 00dani
GPG Key ID: 8EB789DDF3ABD240
1 changed files with 1 additions and 3 deletions

View File

@ -33,9 +33,7 @@ let g:gruvbox_italic=1
let g:gruvbox_improved_strings=1
let g:gruvbox_improved_warnings=1
" The 'termguicolors' option is a little broken in Vim and can't have
" transparent background colours. It works totally fine in Neovim though.
if has('gui_running') || has('nvim')
if has('gui_running') || has('termguicolors')
set termguicolors
silent! packadd gruvbox
let g:airline_theme = 'gruvbox'