[vim] Make sure to delete temporary batchfile on Windows

This commit is contained in:
Junegunn Choi 2017-05-31 10:03:23 +09:00
parent 0665fe0413
commit 076f49d447
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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