mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-22 21:05:09 +00:00
Neovim: event handlers always expect three arguments (#768)
This commit is contained in:
parent
c60bfb2b0f
commit
8a502af4c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user