summaryrefslogtreecommitdiff
path: root/plugin/fzf.vim
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-05-31 10:03:23 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-05-31 10:03:23 +0900
commit076f49d447093944b0ba91c4c60b57a9126869ea (patch)
tree03bde2e12324ffdb8a38aee7a26caa3681c05690 /plugin/fzf.vim
parent0665fe04138866fcdd659dcae221672bf1f5f325 (diff)
downloadfzf-076f49d447093944b0ba91c4c60b57a9126869ea.tar.gz
[vim] Make sure to delete temporary batchfile on Windows
Diffstat (limited to 'plugin/fzf.vim')
-rw-r--r--plugin/fzf.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 29175683..8c8ff855 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