From 68bbece773d8dda603473fea5091a060d04cc5dd Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 15 Aug 2013 13:44:19 +0200 Subject: [PATCH] Prevent marking sessions --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 2cd82bf..8fc1bab 100644 --- a/autoload/startify.vim +++ b/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\|' + if path =~# '\V\|' || path =~# '^\w\+$' return endif