On 02:36 Fri 24 Aug     , Santosh Kumar wrote:
> I have this line in my .vimrc file:
> 
> highlight SpellBad ctermfg=000 guifg=#000
> 
> I don't want to be loaded by gvim (i.e. only vim).
> 
> -- 
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

You can enclose the code in the following if clause:
if !has("gui_running")
    ...
endif

Best,
Marcin

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to