mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-29 00:06:29 +00:00
[nvim] Fix floating window requirements (#2089)
Vim 8.1.237105ad5ff0ab
Nvim 0.4.09a1675b065
This commit is contained in:
parent
07a03b3e73
commit
3e36f2b0ac
@ -652,8 +652,8 @@ function! s:split(dict)
|
||||
try
|
||||
if s:present(a:dict, 'window')
|
||||
if type(a:dict.window) == type({})
|
||||
if !has('nvim') && !has('patch-8.2.191')
|
||||
throw 'Vim 8.2.191 or later is required for pop-up window'
|
||||
if !(has('nvim') ? has('nvim-0.4') : has('popupwin') && has('patch-8.2.191'))
|
||||
throw 'Nvim 0.4+ or Vim 8.2.191+ with popupwin feature is required for pop-up window'
|
||||
end
|
||||
call s:popup(a:dict.window)
|
||||
let is_popup = 1
|
||||
|
Loading…
Reference in New Issue
Block a user