瀏覽代碼

Call s:check_user_options() for all entries

References #165.
Marco Hinz 10 年之前
父節點
當前提交
be611cd545
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      autoload/startify.vim

+ 2 - 0
autoload/startify.vim

@@ -355,6 +355,7 @@ function! startify#open_buffers(...) abort
   if exists('a:1')  " used in mappings
     let entry = s:entries[a:1]
     execute entry.cmd entry.path
+    call s:check_user_options()
     return
   endif
 
@@ -362,6 +363,7 @@ function! startify#open_buffers(...) abort
   if empty(marked)  " open current entry
     let entry = s:entries[line('.')]
     execute entry.cmd entry.path
+    call s:check_user_options()
     return
   endif