aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/php.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/php.vim')
-rw-r--r--vim/after/ftplugin/php.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim
index 20d8d42e..b747a14e 100644
--- a/vim/after/ftplugin/php.vim
+++ b/vim/after/ftplugin/php.vim
@@ -12,10 +12,9 @@ setlocal comments=s1:/*,m:*,ex:*/,://,:#
setlocal formatoptions+=or
let b:undo_ftplugin .= '|setlocal comments< formatoptions<'
-" Fold based on indent level, but start with all folds open
+" Fold based on indent level
setlocal foldmethod=indent
-setlocal foldlevel=99
-let b:undo_ftplugin .= '|setlocal foldmethod< foldlevel<'
+let b:undo_ftplugin .= '|setlocal foldmethod<'
" Use pman as 'keywordprg'
setlocal keywordprg=pman