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

后端 未结 9 871
栀梦
栀梦 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:49

    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 ().

提交回复
热议问题