From: Iain Patterson Date: Fri, 30 Jun 2006 12:08:08 +0000 (+0000) Subject: Lose useless PHP mode. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=f47e88a5316392ef25aff9420f1c73c85f5e91fa;p=profile.git Lose useless PHP mode. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@28 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.vimrc b/.vimrc index ddfed89..4c10a31 100755 --- a/.vimrc +++ b/.vimrc @@ -133,11 +133,6 @@ au BufLeave * if &ft == "c" || &ft == "cpp" | call CMode_unmap() | endif au BufEnter * if &ft == "perl" | call PerlMode_map() | endif au BufLeave * if &ft == "perl" | call PerlMode_unmap() | endif -" ... For PHP files: - -au BufEnter * if &ft == "php" | call PHPMode_map() | endif -au BufLeave * if &ft == "php" | call PHPMode_unmap() | endif - " ... For makefiles: au BufEnter * if &ft == "make" | call MakeMode_map() | endif @@ -166,16 +161,6 @@ fun! PerlMode_unmap() set foldmethod=manual endfun -fun! PHPMode_map() - set nocindent - set autoindent -endfun - -fun! PHPMode_unmap() - set noautoindent - set cindent -endfun - " ... For makefiles: fun! MakeMode_map()