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