Skip to content
Snippets Groups Projects
Commit 8a502af4 authored by Marco Hinz's avatar Marco Hinz Committed by Junegunn Choi
Browse files

Neovim: event handlers always expect three arguments (#768)

parent c60bfb2b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment