[vim] Fix #177 - :FZF with relative paths

This commit is contained in:
Junegunn Choi 2015-04-04 09:18:04 +09:00
parent dd4d465305
commit 57319f8c58

View File

@ -160,6 +160,7 @@ function! s:pushd(dict)
if s:present(a:dict, 'dir')
let a:dict.prev_dir = getcwd()
execute 'chdir '.s:escape(a:dict.dir)
let a:dict.dir = getcwd()
return 1
endif
return 0