From 240185601912191fb6c593d054c07d9b31bc1021 Mon Sep 17 00:00:00 2001 From: Ryan Jacobs Date: Tue, 17 Feb 2015 18:38:35 -0800 Subject: [PATCH] For terminals, turn off italics by default. Since this problem has cropped up so much... https://github.com/morhetz/gruvbox/issues/3 https://github.com/morhetz/gruvbox/issues/4 https://github.com/morhetz/gruvbox/issues/30 https://github.com/morhetz/gruvbox/issues/41 https://github.com/morhetz/gruvbox/issues/43 https://github.com/morhetz/gruvbox/issues/44 https://github.com/morhetz/gruvbox/issues/46 Maybe a good default would be to turn off italics by default, (for those with terminals only of course)? Then, we could write a note in the readme with instructions for those who want them... --- colors/gruvbox.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/colors/gruvbox.vim b/colors/gruvbox.vim index 3bdd6c0b..8e7d979b 100644 --- a/colors/gruvbox.vim +++ b/colors/gruvbox.vim @@ -22,6 +22,10 @@ if !has('gui_running') && &t_Co != 256 finish endif +if !has("gui_running") + let g:gruvbox_italic=0 +endif + " }}} " Global Settings: {{{