Marginally improve the hover text

Don't use the default padded display.
When the request fails, say why.
Include the type if known.
This commit is contained in:
Ben Jackson 2018-06-03 21:43:45 +01:00
commit 88ac7f6d55
3 changed files with 37 additions and 15 deletions

View file

@ -25,7 +25,7 @@ function vimspector#internal#balloon#BalloonExpr()
" int() because for *no good reason* winnr is a string.
py3 _vimspector_session.ShowBalloon( int( vim.eval( 'v:beval_winnr' ) ) + 1,
\ vim.eval( 'v:beval_text' ) )
return ''
return '...'
endfunction
" Boilerplate {{{