[vim] Make sure to delete temporary batchfile on Windows

pull/909/merge
Junegunn Choi 7 years ago
parent 0665fe0413
commit 076f49d447
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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…
Cancel
Save