Prevent marking sessions
This commit is contained in:
parent
b97e3c71d0
commit
68bbece773
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue