mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-06-01 15:10:47 +00: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:
parent
8406cedf2d
commit
8385a55bda
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user