vim-cpp-enhanced-highlight icon indicating copy to clipboard operation
vim-cpp-enhanced-highlight copied to clipboard

Vector names highlighted as functions in case these are followed by (...)

Open YuryYury opened this issue 2 years ago • 0 comments

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: image

Is different highlighting for myVector and anotherVector expected?

YuryYury avatar Apr 13 '23 12:04 YuryYury