On (12:19 24/05/06), Charles E Campbell Jr <[EMAIL PROTECTED]> put forth the 
proposition:
> David Woodfall wrote:
> 
> >I would like to somehow add the keyword 'string' to cpp syntax 
> >highlighting, but
> >I can't make much sense of the cpp.vim or other files. Googling around 
> >hasn't
> >helped much.
> > 
> >
> What sort of keyword?  Here's some of the choices:
>
> cppAccess  cppExceptions cppOperator cppStatement    
> cppStructure                 
> cppBoolean cppNumber     cppOperator cppStorageClass cppType 
> 
> Once you've decided that, I suggest putting the new keyword in your 
> .vim/after/syntax/cpp.vim file.  That way updates won't wipe out your 
> work.  As an example,
> 
> syn keyword cppStatement string

That worked fine thanks.

 
> Regards,
> Chip Campbell
>                   
> 

-- 
If you took all the students that felt asleep in class and laid them
end to end, they'd be a lot more comfortable.
                -- "Graffiti in the Big Ten"

Reply via email to