【发布时间】:2015-09-15 16:12:24
【问题描述】:
当我在 Vim 中编程时,我想防止字符串文字中的换行。换句话说,用set textwidth = 80
testVariable = myFunction(a=var1, b=var2, c=var3, text="This should not break to
the next line but does", end="this should be on the
next line")
应改为如下包装:
testVariable = myFunction(a=var1, b=var2, c=var3, text="This should not break to the next line but does",
end="this should be on the next line")
是否有我可以使用的 vimrc 选项或插件来完成此操作?如果重要的话,我正在用 python 编程。
【问题讨论】: