作者powertodream (The Beginning)
看板Editor
标题Re: [vim ] 自动连续注解怎麽开启?
时间Mon Nov 29 17:14:10 2010
※ 引述《kornelius (c9s)》之铭言:
: 跟 filetype 相关
: 要确定 filetype plugin on
: 测试:
: :filetype detect
经过设定set formatoptions = r之後
我的 .c .cpp 可以使用自动注解了
但是 .h 档没有办法使用
请问该去哪边设定呢?
输入 filetype detect 好像没什麽反应
谢谢
: .vimrc 内加入:
: :filetype on
: :filetype plugin on
: :filetype indent on
: ※ 引述《allstarschh (allstars)》之铭言:
: : 好像10.04的vim default是这样
: : 目前要set formatoptions=r才可以有上面讲的功能
: : 有没有人知道比较详细的background跟比较详细的解法吗??
--
这世界最难以理解的事就是所有事情都是可以理解的
(爱因斯坦).
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.87.64.222