瀏覽代碼

Two different buffers mustn't have the same filename

Closes #240.
Marco Hinz 9 年之前
父節點
當前提交
ab3513c8ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -154,7 +154,7 @@ function! startify#insane_in_the_membrane() abort
   call cursor(s:firstline, 5)
   autocmd startify CursorMoved <buffer> call s:set_cursor()
 
-  silent file Startify
+  silent! file Startify
   set filetype=startify
   if exists('#User#Startified')
     if v:version > 703 || v:version == 703 && has('patch442')