summaryrefslogtreecommitdiff
path: root/plugin/fzf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/fzf.vim')
-rw-r--r--plugin/fzf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index e3a11179..fc45c797 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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