mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-31 12:12:02 -07:00
[vim] s:pushd after s:split
It is possible that the user has an autocmd that changes the current directory.
This commit is contained in:
@@ -254,8 +254,8 @@ function! s:split(dict)
|
||||
endfunction
|
||||
|
||||
function! s:execute_term(dict, command, temps)
|
||||
call s:pushd(a:dict)
|
||||
call s:split(a:dict)
|
||||
call s:pushd(a:dict)
|
||||
|
||||
let fzf = { 'buf': bufnr('%'), 'dict': a:dict, 'temps': a:temps }
|
||||
function! fzf.on_exit(id, code)
|
||||
|
Reference in New Issue
Block a user