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