diff --git a/autoload/startify.vim b/autoload/startify.vim index 8a0c24f..8219fe1 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -485,7 +485,7 @@ function! s:set_mark(type) abort let s:marked = {} endif - let [id, path] = matchlist(getline('.'), '\v\[(.{-})\]\s+(.{-})')[1:2] + let [id, path] = matchlist(getline('.'), '\v\[(.{-})\]\s+(.*)')[1:2] let path = fnamemodify(path, ':p') if path =~# '\V\|' || path =~# '^\w\+$'