This is an alternative to the compact renderer, with the following modifications:
it adds wrapping, a feature requested numerous times (#137 #88 #143 #129)
it simulates padding (by prepending a space on every line 🙈). (#152)
handles the title in a more sensitive manner: if there is a manual title, it becomes a header line, if there is no title given, just prepend the icon.
here is an example with max_width = 40 for the following notification call
vim.notify("Hello World. Lorem ipsum dolor sit amet qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.", vim.log.levels.INFO, {title = "My Plugin"})
This is an alternative to the
compact
renderer, with the following modifications:here is an example with
max_width = 40
for the following notification call