vim-cpp-modern
vim-cpp-modern copied to clipboard
Incorrect function highlighting
trafficstars
var in #define var (int)1.0 is highlighted like a function.
Thanks for reporting this. The regex for highlighting function names is very simple. Just highlight all words appearing before an opening parenthesis. I don't know if I want to make it too complex because that's a rather special case that doesn't occur very often. I need to think about this a little bit longer.
No problem, I've been using your plugin for months and I just discovered this yesterday. So not a big problem for me too. Thanks for the plugin btw.