gruvbox icon indicating copy to clipboard operation
gruvbox copied to clipboard

Italic text

Open timsofteng opened this issue 4 years ago • 1 comments

Hello. How can i set italic text with gruvbox? For example when I work with .md file I can't see itailc words....

Thanks

timsofteng avatar Feb 10 '21 15:02 timsofteng

Solution from the wiki:

Most terminals don't handle italics right so gruvbox disables italics for terminals by default. But if you're using urxvt or gnome-terminal you should try setting let g:gruvbox_italic=1 before colorscheme gruvbox to enforce displaying italics

And the code piece got when search italic in the repo:

if !exists('g:gruvbox_bold')
  let g:gruvbox_bold=1
endif
if !exists('g:gruvbox_italic')
  if has('gui_running') || $TERM_ITALICS == 'true'
    let g:gruvbox_italic=1
  else
    let g:gruvbox_italic=0
  endif

jakio6 avatar Feb 25 '21 00:02 jakio6