morhetz / gruvbox

Retro groove color scheme for Vim
13.63k stars 1.11k forks source link

C++ comment highlighting #276

Open jhollowed opened 5 years ago

jhollowed commented 5 years ago

C++ comments (lines starting with //) seem to be highlighted by default, rather than just colored. Is there a way to turn this off?

jhollowed commented 5 years ago

I see that I can be disabled by setting let g:gruvbox_italic=0 Does this mean that the highlighting is only happening because the system doesn't support italicizing? On my local machine, I have the option turned on, and comments are italicized. I only see the highlighting when running vim on a remote machine via ssh.

rbong commented 5 years ago

It's a terminal specific issue... try setting your TERM environment variable to xterm-256color-italic or trying a different terminal emulator. Not sure how SSH impacts the terminal capabilities.