Skip to content

Commit 36e9f25

Browse files
committed
Fix hover float positioning above cursor line
1 parent 9e9c697 commit 36e9f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/ui/vim/output.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function! s:get_float_positioning(height, width) abort
4040
" Float does not fit
4141
if l:y - 2 > l:height
4242
" Fits above
43-
let l:y = winline() - l:height
43+
let l:y = winline() - l:height -1
4444
elseif l:y - 2 > winheight(0) - l:y
4545
" Take space above cursor
4646
let l:y = 1

0 commit comments

Comments
 (0)