mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
feat(notifier): global keep when in cmdline
This commit is contained in:
parent
b593598859
commit
73b1e20d38
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue