With C++11, the keyword auto
attained a new syntax and semantics. However, it seems that CC-mode has not been aware of this.
For example, if I write auto var = exp
, I get var
in green, in which various types are displayed. I don't like this; var
should look like other variables.
How can I teach CC-mode to do this?