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 9baef1f commit f453d6cCopy full SHA for f453d6c
autoload/lsp/internal/diagnostics/float.vim
@@ -96,8 +96,7 @@ endfunction
96
function! s:compute_position(size) abort
97
let l:pos = screenpos(0, line('.'), col('.'))
98
if l:pos.row == 0 && l:pos.col == 0
99
- " When the specified position is not visible
100
- return []
+ let l:pos = {'curscol': screencol(), 'row': screenrow()}
101
endif
102
let l:pos = [l:pos.row + 1, l:pos.curscol + 1]
103
if l:pos[0] + a:size.height > &lines
0 commit comments