瀏覽代碼

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