diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2016-07-14 23:38:47 +0200 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2017-07-15 11:01:45 -0400 |
commit | c235ee3f059d43a6099d7983b68b433abdd7e395 (patch) | |
tree | 03dfd2cf52a6ccdc3cda8582b453350e3f34e89c | |
parent | ec67d0706524a23768c8a964a7940a34f057edb8 (diff) | |
download | rneovim-c235ee3f059d43a6099d7983b68b433abdd7e395.tar.gz rneovim-c235ee3f059d43a6099d7983b68b433abdd7e395.tar.bz2 rneovim-c235ee3f059d43a6099d7983b68b433abdd7e395.zip |
tutor: don't enable folds by default
-rw-r--r-- | runtime/ftplugin/tutor.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/tutor.vim b/runtime/ftplugin/tutor.vim index 4cfde4c2df..660c1afaf5 100644 --- a/runtime/ftplugin/tutor.vim +++ b/runtime/ftplugin/tutor.vim @@ -19,11 +19,11 @@ setlocal noundofile setlocal keywordprg=:help setlocal iskeyword=@,-,_ -setlocal foldmethod=expr +" The user will have to enable the folds himself, but we provide the foldexpr +" function. +setlocal foldmethod=manual setlocal foldexpr=tutor#TutorFolds() -setlocal foldcolumn=1 setlocal foldlevel=4 -setlocal nowrap setlocal statusline=%{toupper(expand('%:t:r'))}\ tutorial%= setlocal statusline+=%{tutor#InfoText()} |