tutor: don't set statusline (#8844)

also, remove unused function tutor#InfoText()

fixes #8842
This commit is contained in:
Felipe Morales 2018-08-10 19:01:17 +02:00 committed by Justin M. Keyes
parent 2841e89cf1
commit a5e3f4da34
2 changed files with 0 additions and 12 deletions

View File

@ -77,15 +77,6 @@ function! tutor#TutorFolds()
endif
endfunction
function! tutor#InfoText()
let l:info_parts = []
if exists('b:tutor_infofunc')
call add(l:info_parts, eval(b:tutor_infofunc.'()'))
endif
return join(l:info_parts, " ")
endfunction
" Marks: {{{1
function! tutor#ApplyMarks()

View File

@ -25,9 +25,6 @@ setlocal foldmethod=manual
setlocal foldexpr=tutor#TutorFolds()
setlocal foldlevel=4
setlocal statusline=%{toupper(expand('%:t:r'))}\ tutorial%=
setlocal statusline+=%{tutor#InfoText()}
" Load metadata if it exists: {{{1
if filereadable(expand('%').'.json')
call tutor#LoadMetadata()