Avoid taking over a modified buffer

This commit is contained in:
valleydali 2018-03-19 22:02:40 -07:00 committed by Marco Hinz
parent 8d77329d27
commit 54483c88e5

View file

@ -47,6 +47,10 @@ function! startify#insane_in_the_membrane() abort
return
endif
if &modified
return
endif
if !empty(v:servername) && exists('g:startify_skiplist_server')
for servname in g:startify_skiplist_server
if servname == v:servername