aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2018-08-10 19:01:17 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-08-10 19:01:17 +0200
commita5e3f4da349e29a5097798d52ecc6655b0d41907 (patch)
treec175c0ce5014a0086461a754a652540f02dea495
parent2841e89cf179e692b10896a12fe5d9c722632463 (diff)
downloadrneovim-a5e3f4da349e29a5097798d52ecc6655b0d41907.tar.gz
rneovim-a5e3f4da349e29a5097798d52ecc6655b0d41907.tar.bz2
rneovim-a5e3f4da349e29a5097798d52ecc6655b0d41907.zip
tutor: don't set statusline (#8844)
also, remove unused function tutor#InfoText() fixes #8842
-rw-r--r--runtime/autoload/tutor.vim9
-rw-r--r--runtime/ftplugin/tutor.vim3
2 files changed, 0 insertions, 12 deletions
diff --git a/runtime/autoload/tutor.vim b/runtime/autoload/tutor.vim
index 0f01190b9b..3265fdde36 100644
--- a/runtime/autoload/tutor.vim
+++ b/runtime/autoload/tutor.vim
@@ -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()
diff --git a/runtime/ftplugin/tutor.vim b/runtime/ftplugin/tutor.vim
index ec55472b78..30783d9799 100644
--- a/runtime/ftplugin/tutor.vim
+++ b/runtime/ftplugin/tutor.vim
@@ -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()