mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
tutor: don't enable folds by default
This commit is contained in:
@@ -19,11 +19,11 @@ setlocal noundofile
|
|||||||
setlocal keywordprg=:help
|
setlocal keywordprg=:help
|
||||||
setlocal iskeyword=@,-,_
|
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 foldexpr=tutor#TutorFolds()
|
||||||
setlocal foldcolumn=1
|
|
||||||
setlocal foldlevel=4
|
setlocal foldlevel=4
|
||||||
setlocal nowrap
|
|
||||||
|
|
||||||
setlocal statusline=%{toupper(expand('%:t:r'))}\ tutorial%=
|
setlocal statusline=%{toupper(expand('%:t:r'))}\ tutorial%=
|
||||||
setlocal statusline+=%{tutor#InfoText()}
|
setlocal statusline+=%{tutor#InfoText()}
|
||||||
|
Reference in New Issue
Block a user