Skip to content

Commit a641c99

Browse files
fix: Add safety check for b:ycm_hover
1 parent 131b182 commit a641c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/youcompleteme.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ if exists( '*popup_atcursor' )
16641664
function! s:ShowHoverResult( response )
16651665
call popup_hide( s:cursorhold_popup )
16661666

1667-
if empty( a:response )
1667+
if empty( a:response ) || !exists( 'b:ycm_hover' )
16681668
return
16691669
endif
16701670

0 commit comments

Comments
 (0)