nvim-notify.lua 199 B

1234567891011
  1. local status, notify = pcall(require, "notify")
  2. if not status then
  3. vim.notify("没有找到 nvim-notify")
  4. return
  5. end
  6. notify.setup({
  7. stages = "static",
  8. timeout = 5000,
  9. })
  10. vim.notify = notify