Explorar o código

handle TERM_ITALICS variable

Pavel Pertsev %!s(int64=10) %!d(string=hai) anos
pai
achega
47df02e570
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      colors/gruvbox.vim

+ 1 - 1
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