vim-cpp-enhanced-highlight
vim-cpp-enhanced-highlight copied to clipboard
Vector names highlighted as functions in case these are followed by (...)
When I declare a vector, allocating its initial size like
std::vector<int> myVector(5); // allocating 5 elements for this vector
, myVector gets highlighted incorrectly as if it is a function. When I declare a vector without allocating its initial size like
std::vector<int> anotherVector;
, anotherVector is not highlighted as I would expect.
A screenshot:

Is different highlighting for myVector and anotherVector expected?