Skip to content

Commit 69de7c1

Browse files
committed
bugfix
1 parent 4d7eafa commit 69de7c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

autoload/easycomplete/popup.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ function! easycomplete#popup#float(content, hl, direction, ft, offset, float_typ
325325
endfunction
326326

327327
function! easycomplete#popup#LintPopupVisible()
328-
if g:env_is_nvim && nvim_win_is_valid(g:easycomplete_popup_win["float"])
328+
if g:env_is_nvim && g:easycomplete_popup_win["float"] == 0
329+
return v:false
330+
elseif g:env_is_nvim && nvim_win_is_valid(g:easycomplete_popup_win["float"])
329331
return v:true
330332
elseif g:easycomplete_popup_win["float"] && s:float_type == "lint"
331333
return v:true

0 commit comments

Comments
 (0)