From 295c02f9265fef9f7c6240a2f2ccbdbba7bd55b7 Mon Sep 17 00:00:00 2001 From: Konfekt Date: Fri, 6 Nov 2015 17:56:20 +0100 Subject: [PATCH] Resolve symlinks in MRU filter For example, OpenSUSE uses a `.../vim/current` symlink for `$VIMRUNTIME`. The skiplist now resolves these to filter them too. Closes #184. --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 68b5d6b..d0f0a3b 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -19,7 +19,7 @@ let s:session_dir = resolve(expand(get(g:, 'startify_session_dir', let s:skiplist = get(g:, 'startify_skiplist', [ \ 'COMMIT_EDITMSG', - \ escape(fnamemodify($VIMRUNTIME, ':p'), '\') .'doc', + \ escape(fnamemodify(resolve($VIMRUNTIME), ':p'), '\') .'doc', \ 'bundle/.*/doc', \ ])