m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 06:13:47 -05:00

[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

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