Perfect!  Thanks very much.

On Oct 17, 11:24 am, Gary Johnson <[email protected]> wrote:
> On 2011-10-17, JC wrote:
> > I've done this before, but I can't remember how to do it.  When I edit
> > a ".c" file the keywords like strcpy, strcmp, etc.  don't show the
> > color I want.  How do I go about changing the colors of keywords?
> > I've messed around with the c.vim file, but nothing seems to be
> > working.
>
> As Taylor pointed out, those aren't keywords.  Nevertheless, adding
> them to the set of words that are highlighted is easy.  Just create
> a file named ~/.vim/after/syntax/c.vim and put lines like this in
> it.
>
>     syn keyword cOperator strcpy strncpy strncmp
>
> Regards,
> Gary

-- 
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