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

feature: Add support for the configuration of the right title #14

Closed
xiyaowong opened this issue Aug 27, 2021 · 1 comment
Closed

feature: Add support for the configuration of the right title #14

xiyaowong opened this issue Aug 27, 2021 · 1 comment

Comments

@xiyaowong
Copy link

xiyaowong commented Aug 27, 2021

local right_title = vim.fn.strftime("%H:%M", notif.time)

  • override it in setup
  • from opts
@rcarriga
Copy link
Owner

rcarriga commented Sep 1, 2021

You can now provide the title option as a list of two strings to be used as the left and right side 😄

vim.notify("Hello world", "info", { title = { "Left", "Right" })

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

No branches or pull requests

2 participants