rhysd/vim-clang-format

clang-format

bb33bb opened this issue · 2 comments

when format the following code
vector<vector<keypointslist > >keys1;
it changes to 
vector<vector<keypointslist >> keys1;

and compile it will cause an error.
rhysd commented

It's a matter of clang-format, not vim-clang-format. You should report it to ML clang-format.

However, it doesn't look a bug.

>> for nested template is prohibited in C++03, and permitted in C++11. So I guess you format your C++ code with C++11 mode and tend to compile it with C++03 mode.

"SpacesInAngles":true
it was resolved
i added this to configuration
however thanks for your reply!!
3ks!!