Prevent marking sessions

This commit is contained in:
Marco Hinz 2013-08-15 13:44:19 +02:00
parent b97e3c71d0
commit 68bbece773

View file

@ -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