Vim textwidth comma indent problem

后端 未结 2 1516
傲寒
傲寒 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:06

    Edit your .vimrc and comment set fo=... out.

    0 讨论(0)
  • 2021-01-02 13:15

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

    0 讨论(0)
提交回复
热议问题