Initialize b:startify.leftmouse

Fixes https://github.com/mhinz/vim-startify/issues/394
This commit is contained in:
Marco Hinz 2019-10-06 13:18:35 +02:00
parent af03e075a3
commit 520f277695
No known key found for this signature in database
GPG key ID: 1C980A1B657B4A4F

View file

@ -90,7 +90,12 @@ function! startify#insane_in_the_membrane(on_vimenter) abort
endif endif
call append('$', g:startify_header) call append('$', g:startify_header)
let b:startify = { 'tick': 0, 'entries': {}, 'indices': [] } let b:startify = {
\ 'entries': {},
\ 'indices': [],
\ 'leftmouse': 0,
\ 'tick': 0,
\ }
if s:show_special if s:show_special
call append('$', [s:padding_left .'[e] <empty buffer>', '']) call append('$', [s:padding_left .'[e] <empty buffer>', ''])