Warn if :StartifyDebug is run outside Startify buffer

This commit is contained in:
Marco Hinz 2017-11-02 20:24:23 +01:00
parent 7f910ed436
commit 0c23b67dbf
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F

View file

@ -395,6 +395,8 @@ function! startify#debug()
for k in sort(keys(b:startify.entries))
echomsg '['. k .'] = '. string(b:startify.entries[k])
endfor
else
echomsg 'This is no Startify buffer!'
endif
endfunction