pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide virtual text on review panel

proivk opened this issue · comments

Discussed in #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.

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

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