Skip to content

Commit ed63c87

Browse files
authored
Merge pull request #2439 from kazukazuinaina/master
Update popup window's judgement
2 parents 696967f + c987d3f commit ed63c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/go/doc.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ endfunction
7777

7878
function! s:GodocView(newposition, position, content) abort
7979
" popup window
80-
if go#config#DocPopupWindow() && has("patch-8.1.1513")
80+
if go#config#DocPopupWindow() && exists('*popup_atcursor') && exists('*popup_clear')
8181
call popup_clear()
8282

8383
call popup_atcursor(split(a:content, '\n'), {

0 commit comments

Comments
 (0)