mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-16 15:23:47 -05:00
handle TERM_ITALICS variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user