
1 DreamSparkAndy 2012 年 4 月 15 日 in my .vimrc , I set the "set autoindent" but don't meet the problem! |
2 perrywky 2012 年 4 月 15 日 试试 set cindent |
4 tylr OP @DreamSparkAndy 我也奇怪了,一般情况下autoindent都正常,类似下面这句就不行 <?php $db = mysql_connect(){} ?> 在{}中间回车后,$db前面的indent就会被撤销掉 |
5 DreamSparkAndy 2012 年 4 月 18 日 @tylr 你将vimrc文件去掉之后再试试 set autoindent 如果这样还不行的话 只能说明你的配置文件有问题 |
6 9hills 2012 年 4 月 18 日 将vimrc清空后再试试autoindent |