Skip to content
Snippets Groups Projects
Unverified Commit 3e36f2b0 authored by Jan Edmund Lazo's avatar Jan Edmund Lazo Committed by GitHub
Browse files
parent 07a03b3e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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