瀏覽代碼

Expand bookmark paths

Closes #275.
Marco Hinz 8 年之前
父節點
當前提交
2e89a6ec2b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -644,7 +644,7 @@ function! s:show_bookmarks() abort
     if has('win32')
       let path = substitute(path, '\[', '\[[]', 'g')
     endif
-    call s:register(line('$'), index, 'file', 'edit', fnameescape(path))
+    call s:register(line('$'), index, 'file', 'edit', fnameescape(expand(path)))
 
     unlet bookmark  " avoid type mismatch for heterogeneous lists
   endfor