We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be675ff commit 59e108eCopy full SHA for 59e108e
autoload/lsp/internal/document_hover/under_cursor.vim
@@ -263,8 +263,8 @@ endfunction
263
function! s:compute_position(size) abort
264
let l:pos = screenpos(0, line('.'), col('.'))
265
if l:pos.row == 0 && l:pos.col == 0
266
- " When the specified position is not visible
267
- return []
+ " workaround for float position
+ let l:pos = {'curscol': wincol(), 'row': winline()}
268
endif
269
let l:pos = [l:pos.row + 1, l:pos.curscol + 1]
270
if l:pos[0] + a:size.height > &lines
0 commit comments