rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
2.97k stars 78 forks source link

[bag]: wrap doesn't work #137

Closed kaiphat closed 1 year ago

kaiphat commented 1 year ago

image

rcarriga commented 1 year ago

The default renderer doesn't account for wrapped lines, nor could it because it doesn't have the context of a window. You could write a custom renderer that assumes that the text will be wrapped but instead I'd suggest doing something like this https://github.com/rcarriga/nvim-notify/issues/129#issuecomment-1245025162 which removes the complexity of calculating the wrapped line lengths

kaiphat commented 1 year ago

Thank you!