handle TERM_ITALICS variable

This commit is contained in:
Pavel Pertsev
2015-03-12 00:38:22 +03:00
parent e52d140d6e
commit 47df02e570

View File

@@ -29,7 +29,7 @@ if !exists('g:gruvbox_bold')
let g:gruvbox_bold=1
endif
if !exists('g:gruvbox_italic')
if has("gui_running")
if has('gui_running') || $TERM_ITALICS == 'true'
let g:gruvbox_italic=1
else
let g:gruvbox_italic=0