浏览代码

Prevent empty buffers

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

+ 1 - 0
autoload/startify.vim

@@ -355,6 +355,7 @@ endfunction
 function! s:open_buffers(cword) abort
   if exists('s:marked') && !empty(s:marked)
     enew
+    setlocal nobuflisted
     for i in range(len(s:marked))
       for val in values(s:marked)
         if val[0] == i