glow-hover.nvim icon indicating copy to clipboard operation
glow-hover.nvim copied to clipboard

Ideas for improving readability

Open cwqt opened this issue 4 years ago • 1 comments

Hi! love the idea of this & been looking for something like this for a while -- however there are a few readability issues / bugs that I think could be fixed:

Default hover document:

Screenshot 2022-04-08 at 5 58 04 pm

glow-hover.nvim hover document:

image
{
  max_width = 500,
  padding = 1, 
  border = "rounded",
  glow_path = "glow",
}
  • Padding value seems to have no effect
  • Would be good if the doc was highlighted using nvim theme colors
  • Option to only render the documentation (not the signature) would also be pretty sweet
  • Opening the hover doc puts you into insert mode

Thanks!

cwqt avatar Apr 08 '22 17:04 cwqt

I think this is really good feedback, I'm on the same page as @cwqt.

For me the main issue is:

  • Opening the hover doc puts you into insert mode

Having the possibility to get inside the message to yank part of the docs for a quick Google search or yanking a function/class name it's really useful.

marcelarie avatar Apr 21 '22 10:04 marcelarie