mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 04:45:14 +00:00
[vim] Make sure to delete temporary batchfile on Windows
This commit is contained in:
parent
0665fe0413
commit
076f49d447
@ -524,6 +524,7 @@ function! s:execute(dict, command, use_height, temps) abort
|
||||
let batchfile = s:fzf_tempname().'.bat'
|
||||
call writefile(s:wrap_cmds(command), batchfile)
|
||||
let command = batchfile
|
||||
let a:temps.batchfile = batchfile
|
||||
if has('nvim')
|
||||
let s:dict = a:dict
|
||||
let s:temps = a:temps
|
||||
|
Loading…
Reference in New Issue
Block a user