From 367aec09665a8eb418f99271a8a1b00b48047f52 Mon Sep 17 00:00:00 2001 From: Marco Hinz <mh.codebro@gmail.com> Date: Mon, 29 May 2017 23:13:35 +0200 Subject: [PATCH] g:startify_use_env: compare against absolute path References #284. --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index caca368..135a606 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -514,7 +514,7 @@ function! s:filter_oldfiles(path_prefix, path_format, use_env) abort call s:init_env() for i in range(len(oldfiles)) for [k,v] in s:env - let p = oldfiles[i][1] + let p = oldfiles[i][0] if !stridx(tolower(p), tolower(v)) let oldfiles[i][1] = printf('$%s%s', k, p[len(v):]) break