ソースを参照

Initialize b:startify.leftmouse

Fixes https://github.com/mhinz/vim-startify/issues/394
Marco Hinz 6 年 前
コミット
520f277695
1 ファイル変更6 行追加1 行削除
  1. 6 1
      autoload/startify.vim

+ 6 - 1
autoload/startify.vim

@@ -90,7 +90,12 @@ function! startify#insane_in_the_membrane(on_vimenter) abort
   endif
   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
     call append('$', [s:padding_left .'[e]  <empty buffer>', ''])