health.vim: Don't lose contents after hide.

This commit is contained in:
Justin M. Keyes 2017-05-11 12:58:40 +02:00
parent 73c6bf3879
commit 3eaf4a0d5b

View File

@ -66,6 +66,7 @@ function! health#check(plugin_names) abort
" needed for plasticboy/vim-markdown, because it uses fdm=expr " needed for plasticboy/vim-markdown, because it uses fdm=expr
normal! zR normal! zR
setlocal nomodified setlocal nomodified
setlocal bufhidden=hide
redraw|echo '' redraw|echo ''
endfunction endfunction