ソースを参照

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