Is there a way to set options only for a hover buffer?

Is there a way to set buffer or window options (like wrap) for only the hover buffer (the buffer from vim.lsp.buf.hover()?

I already tried with the autocmd events WinEnter and BufWinEnter, but BufWinEnter doesn’t work at all, and BufWinEnter only works if I jump to the floating window. I want to set the option to the buffer when it is created.

use vim.fn.setbufvar() function

But, where would I do that?
My understanding is that that function only sets a buffer variable but I would need to do that when the buffer for the hover documentation is opened, how would I do that?

I don’t know of any event that lets me do that.