[neovim] Allow running FZF in multiple windows

Close #1023
This commit is contained in:
Junegunn Choi 2017-08-26 01:56:49 +09:00
parent 71fdb99a07
commit e825b07e85
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 0 additions and 7 deletions

View File

@ -340,13 +340,6 @@ try
set shell=sh
endif
if has('nvim')
let running = filter(range(1, bufnr('$')), "bufname(v:val) =~# ';#FZF'")
if len(running)
call s:warn('FZF is already running (in buffer '.join(running, ', ').')!')
return []
endif
endif
let dict = exists('a:1') ? s:upgrade(a:1) : {}
let temps = { 'result': s:fzf_tempname() }
let optstr = s:evaluate_opts(get(dict, 'options', ''))