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
Post a Comment