Browse Source

Prevent empty buffers

References #30.
Marco Hinz 12 years ago
parent
commit
428d7f5a35
1 changed files with 1 additions and 0 deletions
  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