Allow to run :Startify from a startify buffer
This commit is contained in:
parent
669d87dcec
commit
5a1d811d5f
|
@ -44,7 +44,7 @@ endfunction
|
||||||
" Function: #insane_in_the_membrane {{{1
|
" Function: #insane_in_the_membrane {{{1
|
||||||
function! startify#insane_in_the_membrane() abort
|
function! startify#insane_in_the_membrane() abort
|
||||||
" Handle vim -y, vim -M.
|
" Handle vim -y, vim -M.
|
||||||
if &insertmode || !&modifiable
|
if &insertmode || (!&modifiable && &filetype != 'startify')
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue