simrat39 / desktop-notify.nvim

Show desktop notifications for vim.notify calls
MIT License
57 stars 2 forks source link

String cannot contain newlines #8

Open jghauser opened 2 years ago

jghauser commented 2 years ago

Every now and then when I try to view the notification history I run across this:

E5108: Error executing lua: .../packer/start/desktop-notify.nvim/lua/desktop-notify.lua:51: String cannot contain newlines

For example, I just got a notification with this text: "[neorg] (08:02:43)\n...ocal/share/nvim/site/pack/packer/opt/neorg/lua/neorg.lua:100\nRecovering from error..." that showed up alright as a notification but that triggers an error when trying to view it with open_history()