Allow to run :Startify from a startify buffer

This commit is contained in:
Marco Hinz 2018-04-09 16:46:53 +02:00
parent 669d87dcec
commit 5a1d811d5f
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F

View file

@ -44,7 +44,7 @@ endfunction
" Function: #insane_in_the_membrane {{{1
function! startify#insane_in_the_membrane() abort
" Handle vim -y, vim -M.
if &insertmode || !&modifiable
if &insertmode || (!&modifiable && &filetype != 'startify')
return
endif