Skip to content

Commit

Permalink
feat(notifier): global keep when in cmdline
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 18, 2024
1 parent b593598 commit 73b1e20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/snacks/notifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ local defaults = {
debug = "",
trace = "",
},
keep = function(notif)
return vim.fn.getcmdpos() > 0
end,
---@type snacks.notifier.style
style = "compact",
top_down = true, -- place notifications from top to bottom
Expand Down

0 comments on commit 73b1e20

Please sign in to comment.