formatoptions=tcq Last set from ~/.vimrc
没有有用的上下文。
那么,有没有办法使格式化选项坚持?还是只需要在每次加载新文件时创建一个autocmd来重置它?
编辑
使用:verbose set formatoptions显示:
formatoptions=tcq Last set from ~/.vimrc
但是,在〜/ .vimrc中,fo或formatoptions的唯一参考是设置formatoptions = cqn。
formatoptions=tcq Last set from ~/.vimrc
没有有用的上下文。
那么,有没有办法使格式化选项坚持?还是只需要在每次加载新文件时创建一个autocmd来重置它?
编辑
使用:verbose set formatoptions显示:
formatoptions=tcq Last set from ~/.vimrc
但是,在〜/ .vimrc中,fo或formatoptions的唯一参考是设置formatoptions = cqn。
NOTE: This option is set to the Vi
default value when ‘compatible’ is
set and to the Vim default value when
‘compatible’ is reset.
所以如果兼容性的价值在改变,那可能会导致你所看到的问题。