소스 검색

Prevent marking sessions

Marco Hinz 12 년 전
부모
커밋
68bbece773
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -363,7 +363,7 @@ function! s:set_mark(type) abort
 
   let [id, path] = matchlist(getline('.'), '\v\[(.*)\]\s+(.*)')[1:2]
 
-  if path =~# '\V<empty buffer>\|<quit>'
+  if path =~# '\V<empty buffer>\|<quit>' || path =~# '^\w\+$'
     return
   endif