I was looking for something like this as well and had some free time today. If there are any formatting issues or if you'd prefer a different implementation let me know. I went with what seemed to be the simplest which was in essence mirroring the post_open_hook.
This should close out the issue here:
https://github.com/rmagatti/goto-preview/issues/102
I was looking for something like this as well and had some free time today. If there are any formatting issues or if you'd prefer a different implementation let me know. I went with what seemed to be the simplest which was in essence mirroring the post_open_hook.