buffertag icon indicating copy to clipboard operation
buffertag copied to clipboard

React to window resize event

Open jackfranklin opened this issue 3 years ago • 2 comments

If I have a buffertag displaying for window X, but then resize the window, the buffertag's position isn't redrawn and ends up looking a little off:

Before resize, in correct position: Screenshot 2022-08-20 at 10 24 11

After resize: Screenshot 2022-08-20 at 10 24 16

I think we can listen to a resize event/autocmd and re-draw the buffertag. Would you be open to a PR that does that?

jackfranklin avatar Aug 20 '22 17:08 jackfranklin

Hey there!

I did try this! And for some reason i didnt get it to work. If you submit a PR for this id definitely accept

ldelossa avatar Aug 20 '22 17:08 ldelossa

P.s - i dig your nice white theme. White themes are underrated!

ldelossa avatar Aug 20 '22 17:08 ldelossa

~Until something like https://github.com/neovim/neovim/issues/11532, I don't know if it's possible to fix this.~

jk -- https://github.com/ldelossa/buffertag/pull/10

trmckay avatar Sep 20 '22 04:09 trmckay