octo.nvim icon indicating copy to clipboard operation
octo.nvim copied to clipboard

Hide virtual text on review panel

Open proivk opened this issue 2 years ago • 2 comments

Discussed in https://github.com/pwntester/octo.nvim/discussions/438

Originally posted by proivk October 20, 2023 Hello community! Didn't find a way to hide virtual text (see picture) on a review panel. Is there any way to do this or suggest the best way to see what's behind it.

Screenshot 2023-10-20 at 18 51 16

Would be nice to have functionality and hotkeys to hide/unhide virtual text in review panel. Otherwise it hides text need to be reviewed.

proivk avatar Nov 03 '23 08:11 proivk

I'm facing the same issue. Any idea on how to avoid it would be appreciated!

Eryx5502 avatar Nov 30 '23 12:11 Eryx5502

This is implemented in place_signs which gets called when loading the buffer here. You can add an additional mapping for the diff mapping that controls a flag to prevent placing the signs (or at least the VT). Mappings for the diff buffers are defined here. Cant work on this right now, but it should be an easy first PR if any of you have some time for this

pwntester avatar Jan 12 '24 10:01 pwntester