diff --git a/autoload/vital/__vital__/Experimental/UI/Popup.vim b/autoload/vital/__vital__/Experimental/UI/Popup.vim index d42d73c51..cebefe79d 100644 --- a/autoload/vital/__vital__/Experimental/UI/Popup.vim +++ b/autoload/vital/__vital__/Experimental/UI/Popup.vim @@ -92,6 +92,14 @@ function! s:contents(id, contents) abort endif endfunction +function! s:winid(id) abort + return s:_popups[a:id]['winid'] +endfunction + +function! s:bufnr(id) abort + return s:_popups[a:id]['bufnr'] +endfunction + function! s:_nvim_open_win(id, data) abort let opt = { \ 'relative': 'editor',