Browse Source

Revert "Ignore "ln" errors"

This reverts commit 7b8f614b09d79509cbb02a0368711fbd764fdf15.
Marco Hinz 9 years ago
parent
commit
150571becb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      autoload/startify.vim

+ 3 - 0
autoload/startify.vim

@@ -864,6 +864,9 @@ function! s:create_last_session_link(spath)
           \ shellescape(fnamemodify(a:spath, ':t')),
           \ shellescape(s:session_dir .'/__LAST__'))
     silent! call system(cmd)
+    if v:shell_error
+      echomsg "startify: Can't create 'last used session' symlink."
+    endif
   endif
 endfunction