Fix failure of w:fzf_pushd unlet depending on timing (#2119)

This commit is contained in:
yuki yano
2020-07-26 13:52:50 +09:00
committed by GitHub
parent f79b1f71b8
commit c0a83b27eb

View File

@@ -517,7 +517,7 @@ function! s:dopopd()
if s:fzf_getcwd() ==# w:fzf_pushd.dir && (!&autochdir || w:fzf_pushd.bufname ==# bufname(''))
execute w:fzf_pushd.command s:escape(w:fzf_pushd.origin)
endif
unlet w:fzf_pushd
unlet! w:fzf_pushd
endfunction
function! s:xterm_launcher()