Ver Fonte

Fix change_to_dir option

Thanks for reporting, @Osse.
Marco Hinz há 11 anos atrás
pai
commit
b37d42509b
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      autoload/startify.vim

+ 1 - 0
autoload/startify.vim

@@ -494,6 +494,7 @@ function! s:set_mark(type) abort
   endif
 
   let [id, path] = matchlist(getline('.'), '\v\[(.*)\]\s+(.*)')[1:2]
+  let path = fnamemodify(path, ':p')
 
   if path =~# '\V<empty buffer>\|<quit>' || path =~# '^\w\+$'
     return