In particular, the display of initialization lists is really bad:
vector<int> v({1,2,3});
will highlight the curly braces in red (denoting an error).
As an alternative, you can use
let c_no_curly_error=1
in your .vimrc file so that vim doesn't tag {} as error in ().
.vimrc
{}
()
1.4m articles
1.4m replys
5 comments
57.0k users