Vim textwidth comma indent problem

后端 未结 2 1530
傲寒
傲寒 2021-01-02 12:36

If i set the following option in Vim,

set textwidth=80

the text will break at 80 characters. This works, but the problem is if a comma (,)

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 13:15

    You probably have C style indenting on. :set nocindent should do the trick

提交回复
热议问题