From 8a502af4c126bc5649450d25d9c847da2711a739 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 13 Dec 2016 17:56:53 +0100 Subject: [PATCH] Neovim: event handlers always expect three arguments (#768) --- plugin/fzf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 065701c..0cce53a 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -471,7 +471,7 @@ function! s:execute_term(dict, command, temps) abort endif endif endfunction - function! fzf.on_exit(id, code) + function! fzf.on_exit(id, code, _event) if s:getpos() == self.ppos " {'window': 'enew'} for [opt, val] in items(self.winopts) execute 'let' opt '=' val