summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-12-13 17:56:53 +0100
committerJunegunn Choi <junegunn.c@gmail.com>2016-12-14 01:56:53 +0900
commit8a502af4c126bc5649450d25d9c847da2711a739 (patch)
tree91bce754a36844edbc053debbaecd5389ccc4241 /plugin
parentc60bfb2b0f96b50790f66c2d534e17098e6e690a (diff)
Neovim: event handlers always expect three arguments (#768)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 065701cc..0cce53ab 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