소스 검색

Expand bookmark paths

Closes #275.
Marco Hinz 9 년 전
부모
커밋
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