c++ - Unexpected red brackets highlight in vim -
in c++ code vim shows red highlighted brackets in following piece:

this in-built functionality tried removing .vimrc, still shows them red. what's going on , how fix it?
vim has limited c++ syntax highlighting capability built in. there no support c++11.
but there are, of course, plugins! here's 1 makes error go away:
c++11 syntax support: port of existing c++ syntax allow c++11 features
to install, download archive , extract files ~/.vim/syntax directory. enable c++11 file type :setf cpp11 or follow instructions on plugin home page.
Comments
Post a Comment