From 076f49d447093944b0ba91c4c60b57a9126869ea Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 31 May 2017 10:03:23 +0900 Subject: [PATCH] [vim] Make sure to delete temporary batchfile on Windows --- plugin/fzf.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 2917568..8c8ff85 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -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