浏览代码

Fix missing argument

References #130.
Marco Hinz 11 年之前
父节点
当前提交
1becbe7724
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -462,7 +462,7 @@ function! s:show_bookmarks() abort
   endif
 
   for fname in g:startify_bookmarks
-    let index = s:get_index_as_string()
+    let index = s:get_index_as_string(s:entry_number)
 
     call append('$', '   ['. index .']'. repeat(' ', (3 - strlen(index))) . fname)
     execute 'nnoremap <buffer><silent>' index ':edit' fnameescape(fname) '<bar> call <sid>check_user_options()<cr>'