Braces inside square brackets shown as error
bmerry opened this issue · 3 comments
bmerry commented
This code is valid C++11, but the braces are shown in red as invalid syntax
std::map<std::pair<int, int>, int> m;
m[{1, 2}] = 3;
octol commented
A workaround is to set let c_no_curly_error=1
.
motherindia00 commented
where should i add this !?
refaelsh commented
@rayhansec In your .vimrc
.