aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/vim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/vim.vim')
-rw-r--r--vim/after/ftplugin/vim.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim
index 481af0ec..01f971b9 100644
--- a/vim/after/ftplugin/vim.vim
+++ b/vim/after/ftplugin/vim.vim
@@ -9,10 +9,9 @@ endif
let b:regex_escape_flavor = 'vim'
let b:undo_ftplugin .= '|unlet b:regex_escape_flavor'
-" 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 :help as 'keywordprg' if not already set; this is the default since Vim
" v8.1.1290