From 47df02e570c46b55e7b8b525203127e0f2623c15 Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Thu, 12 Mar 2015 00:38:22 +0300 Subject: [PATCH] handle TERM_ITALICS variable --- colors/gruvbox.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/gruvbox.vim b/colors/gruvbox.vim index 75a87a3b..a4cd793c 100644 --- a/colors/gruvbox.vim +++ b/colors/gruvbox.vim @@ -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