Skip to content

Commit c41ab5c

Browse files
authored
Revert "Fix dangling documentation popup in vim8 (#1163)" (#1164)
This reverts commit 7a78c3b.
1 parent 7a78c3b commit c41ab5c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Diff for: autoload/LanguageClient.vim

+1-8
Original file line numberDiff line numberDiff line change
@@ -546,14 +546,7 @@ function! s:OpenHoverPreview(bufname, lines, filetype, ...) abort
546546
elseif display_approach ==# 'popup_win'
547547
let l:padding = [1, 1, 1, 1]
548548
if get(a:000, 0, v:null) isnot v:null && get(a:000, 1, v:null) isnot v:null
549-
let pop_win_id = popup_create(a:lines, {
550-
\ 'line': get(a:000, 1) + 1,
551-
\ 'col': get(a:000, 0) + 1,
552-
\ 'padding': l:padding,
553-
\ 'drag': 1,
554-
\ 'border': [1,1,1,1],
555-
\ 'moved': 'any'
556-
\ })
549+
let pop_win_id = popup_create(a:lines, { 'line': get(a:000, 1) + 1, 'col': get(a:000, 0) + 1, 'padding': l:padding })
557550
else
558551
let pop_win_id = popup_atcursor(a:lines, { 'padding': l:padding })
559552
endif

0 commit comments

Comments
 (0)