vim - How to make comments Italic in gVim? -


i new vim , use gvim of coding purposes. trying figure out add in _vimrc (in windows) make comments italic.

i tried adding

highlight comment cterm=italic 

but didn't work. modifications far in vimrc (if matters) is:

color slate set number set nowrap set guioptions+=b if has('gui_running')   set guifont=consolas:h10 endif 

so can comments appear in italics (consolas, italic, size 10)?

the cterm definition high color terminals; gui, need use gui= argument:

highlight comment cterm=italic gui=italic 

also, put after :colorscheme command in ~/.vimrc, or else might overridden.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -