mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
@@ -789,7 +789,8 @@ function! s:do_offscreen_popup_nvim(offscreen) abort " {{{1
|
||||
endif
|
||||
|
||||
if l:text_method
|
||||
if !exists('s:float_bufnr')
|
||||
if !exists('s:float_bufnr') || bufnr(s:float_bufnr) < 0
|
||||
call s:close_floating_win()
|
||||
let s:float_bufnr = nvim_create_buf(0, 1)
|
||||
endif
|
||||
let l:bufnr = s:float_bufnr
|
||||
|
||||
Reference in New Issue
Block a user