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](https://private-user-images.githubusercontent.com/42062047/276984884-21b2e771-ead7-49a2-a912-54ef7e6545cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2ODYyNDgsIm5iZiI6MTcyMzY4NTk0OCwicGF0aCI6Ii80MjA2MjA0Ny8yNzY5ODQ4ODQtMjFiMmU3NzEtZWFkNy00OWEyLWE5MTItNTRlZjdlNjU0NWNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE1VDAxMzkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU4ZTBjZWJlZjAxNjQzNjIwODU0NDkzY2IxNDNjNzBkMWI2MjYzMDk0ZjM5MzA2OWVlMTUzYjg1YTJlYmNiNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VFTdNsIxW8X-RBB4peaqptGprOjRKOA5TmYQhciFnS4)
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