I want to change the highlighting of the function names inside a c++ file, here is an example
As you can see in the previous picture functions names have their own color,
parser(), parse(), get_headers(), get_http_version().
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
The default vim cpp syntax lacks highlight group for function and class names, there is an enhanced cpp syntax that defines much more language constructs than the default.
You can change the function colors using this:
hi clear cppSTLfunction hi cppSTLfunction ctermfg=74