ソースを参照

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