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

Regards,
Chip Campbell

Reply via email to