Explorar o código

Prevent empty buffers

References #30.
Marco Hinz %!s(int64=12) %!d(string=hai) anos
pai
achega
428d7f5a35
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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