diff --git a/plugin/startify.vim b/plugin/startify.vim index d090e92..8336bad 100644 --- a/plugin/startify.vim +++ b/plugin/startify.vim @@ -169,6 +169,9 @@ function! s:set_mark(type) abort " matches[1]: content between brackets " matches[2]: path let matches = matchlist(getline('.'), '\v\[(.*)\]\s+(.*)') + if matches[2] =~ '\V\|' + return + endif setlocal modifiable if matches[1] =~ 'B\|S\|V' let s:nmarked -= 1