当前位置:
首页 >
Perl > 在vim中添加perl注释时无法对齐问题的解决方法 文章详情
在vim中添加perl注释时无法对齐问题的解决方法
分类:Perl
标签Tags:vim,添加,perl,注释,无法,对齐,问题,解决方法,vimrc,中加,如下,几行,即可,解决,这个问题,实现,代码,part,when,compiled
在.vimrc中加入如下几行,即可解决这个问题。
实现代码如下:
"Only do this part when compiled with support for autocommands.
if has("autocmd")
filetype plugin indent on
else
set autoindent
endif "has("autocmd")
以上就是【在vim中添加perl注释时无法对齐问题的解决方法】的全部内容了,欢迎留言评论进行交流!
与本文相关的软件