在vim中添加perl注释时无法对齐问题的解决方法
2012年11月30日
在.vimrc中加入如下几行,即可解决这个问题。
"Only do this part when compiled with support for autocommands.
if has("autocmd")
filetype plugin indent on
else
set autoindent
endif "has("autocmd")
"Only do this part when compiled with support for autocommands.
if has("autocmd")
filetype plugin indent on
else
set autoindent
endif "has("autocmd")