From 150571becbea0552cf94216d97b11332e16dd638 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 31 Oct 2016 22:47:42 +0100 Subject: [PATCH] Revert "Ignore "ln" errors" This reverts commit 7b8f614b09d79509cbb02a0368711fbd764fdf15. --- autoload/startify.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/startify.vim b/autoload/startify.vim index a512ad2..3685576 100644 --- a/autoload/startify.vim +++ b/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