소스 검색

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