mirror of
https://github.com/junegunn/fzf.git
synced 2024-09-11 14:35:26 +03: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