2
错误我在~/.vim/after/indent/sml.vim
标准ML注释的格式是VIM
set comments=s1:(*,mb:*,ex:*)
set comments=sr:(*,mb:*,ex:*)
set comments=s1:(*,mb:\ *,ex:*)
set comments=sr:(*,mb:*,ex:*)
与各种组合尝试下面的命令格式化的意见等。我似乎无法实现C风格的评论,其中中间评论行缩进了1个空格。取而代之的是
(* Text
* More text
* even more text *)
我得到这个
(*
* Some misaligned text
* etc. *)
有什么建议? :h format-options comments fo-table
不建议任何看起来有用的替代方案。
我试图禁用我的所有插件和使用裸配置的最小值: '设置nocompatible 类型插件缩进上 语法enable' 并得到了相同result.This是(G)的Vim在Windows,版本7.4。 – neoDaedalus