octol / vim-cpp-enhanced-highlight

Additional Vim syntax highlighting for C++ (including C++11/14/17)
MIT License
1.07k stars 150 forks source link

Why is the color of "std::cout" and "std::endl" different? #11

Closed Alaya-in-Matrix closed 9 years ago

octol commented 9 years ago

Although usually used together, they are fundamentally different beasts. One is a global object and the other one is a IO manipulator (a function).