mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
tutor: don't set statusline (#8844)
also, remove unused function tutor#InfoText() fixes #8842
This commit is contained in:
parent
2841e89cf1
commit
a5e3f4da34
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user