Skip to content

Commit

Permalink
docs: correct type for render option
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Mar 4, 2023
1 parent 9c98708 commit 281e4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/notify/init.lua
Expand Up @@ -47,7 +47,7 @@ end
---@field on_open function: Callback for when window opens, receives window as argument.
---@field on_close function: Callback for when window closes, receives window as argument.
---@field keep function: Function to keep the notification window open after timeout, should return boolean.
---@field render function: Function to render a notification buffer.
---@field render function|string: Function to render a notification buffer.
---@field replace integer | notify.Record: Notification record or the record `id` field. Replace an existing notification if still open. All arguments not given are inherited from the replaced notification including message and level.
---@field hide_from_history boolean: Hide this notification from the history
---@field animate boolean: If false, the window will jump to the timed stage. Intended for use in blocking events (e.g. vim.fn.input)
Expand Down

0 comments on commit 281e4d7

Please sign in to comment.