vim在c ++中的注释中停止冒号缩进

时间:2018-05-24 05:26:18

标签: vim comments auto-indent

如何使用vim停止c ++源代码中冒号的缩进更改?

示例:

class X
{
    public:
        /*
           Some comment here
TODO: make it better...
*/
        void f() {}
};

应该是:

class X
{
    public:
        /*
           Some comment here
           TODO: make it better...
           */
        void f() {}
};

0 个答案:

没有答案