Skip to content
Myr

[vim] Throw error when popup support is unavailable

Before adoption: this commit came in with the history the project adopted, so no landing records it.

https://github.com/junegunn/fzf.vim/issues/943 https://github.com/junegunn/fzf.vim/issues/959

authored by Junegunn Choi · committed by Junegunn Choi · parent 4c9cab3 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • https: //github.com/junegunn/fzf.vim/issues/943
  • https: //github.com/junegunn/fzf.vim/issues/959

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:plugin/fzf.vim+3 added
660 unmodified lines
661 let ppos = s:getpos()662 try663 if s:present(a:dict, 'window')664 if type(a:dict.window) == type({})665 if !has('nvim') && !has('patch-8.2.191')666 throw 'Vim 8.2.191 or later is required for pop-up window'667 end668 call s:popup(a:dict.window)669 else670 execute 'keepalt' a:dict.window671 endif
280 unmodified lines