refactor(nvim): improve snacks notifier appearance
This commit is contained in:
parent
fe757ad6b1
commit
f7bc9f393b
@ -39,7 +39,9 @@ return {
|
|||||||
{
|
{
|
||||||
"<leader>nv",
|
"<leader>nv",
|
||||||
function()
|
function()
|
||||||
require("snacks").notifier.show_history()
|
require("snacks").notifier.show_history({
|
||||||
|
sort = { "added" },
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
desc = "Notifications: Search",
|
desc = "Notifications: Search",
|
||||||
},
|
},
|
||||||
@ -57,6 +59,10 @@ return {
|
|||||||
words = { enabled = true },
|
words = { enabled = true },
|
||||||
statuscolumn = { enabled = false },
|
statuscolumn = { enabled = false },
|
||||||
})
|
})
|
||||||
|
snacks.config.styles["notification.history"] = {
|
||||||
|
title = { { "Notification History", "@markup.heading.4" } },
|
||||||
|
border = { { " ", "INVALIDHIGHLIGHTHERE" } },
|
||||||
|
}
|
||||||
_G.bt = snacks.debug.backtrace
|
_G.bt = snacks.debug.backtrace
|
||||||
_G.dd = snacks.debug.inspect
|
_G.dd = snacks.debug.inspect
|
||||||
vim.print = snacks.debug.inspect
|
vim.print = snacks.debug.inspect
|
||||||
|
Loading…
Reference in New Issue
Block a user