Is there a C++11 syntax file for vim?

后端 未结 9 895
栀梦
栀梦 2020-12-02 14:58

In particular, the display of initialization lists is really bad:

vector v({1,2,3});

will highlight the curly braces in red (den

9条回答
  •  清歌不尽
    2020-12-02 15:58

    I have searched the other proposals about C++11 syntax file of VIM and they are old and not maintained. Anyway, recent distributions of Vim have good syntax files already. Sometimes they are updated though and official source of syntax files is here: https://github.com/vim-jp/vim-cpp

提交回复
热议问题