Browse Source

Batchmode: fix unknown function issue

Fixes https://github.com/mhinz/vim-startify/issues/398
Marco Hinz 6 năm trước cách đây
mục cha
commit
2ea9085789
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -401,7 +401,7 @@ function! startify#open_buffers(...) abort
   if exists('a:1')  " used in mappings
   if exists('a:1')  " used in mappings
     let entry = b:startify.entries[a:1]
     let entry = b:startify.entries[a:1]
     if !empty(s:batchmode) && entry.type == 'file'
     if !empty(s:batchmode) && entry.type == 'file'
-      call s:set_mark(s:batchmode, a:1)
+      call startify#set_mark(s:batchmode, a:1)
     else
     else
       call s:open_buffer(entry)
       call s:open_buffer(entry)
     endif
     endif