Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new renderer wrapped-compact #223

Merged
merged 5 commits into from
Sep 10, 2023
Merged

feat: new renderer wrapped-compact #223

merged 5 commits into from
Sep 10, 2023

Conversation

chrisgrieser
Copy link
Contributor

@chrisgrieser chrisgrieser commented Sep 4, 2023

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

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"})
Pasted image 2023-09-04 at 12 20 27@2x

Copy link
Owner

@rcarriga rcarriga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just some variable name changes. Please also run ./scripts/style to update the formatting

lua/notify/render/wrapped-compact.lua Outdated Show resolved Hide resolved
@chrisgrieser
Copy link
Contributor Author

all done!

@rcarriga
Copy link
Owner

Nice, thanks again! 😄

@rcarriga rcarriga merged commit 5d33f5e into rcarriga:master Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants