mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
fix: conflik key mapping with increment rename
This commit is contained in:
parent
16c9fa5a36
commit
299c94137d
1 changed files with 28 additions and 28 deletions
|
@ -1,30 +1,30 @@
|
||||||
return {
|
return {
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>un",
|
"<leader>uN",
|
||||||
function()
|
function()
|
||||||
require("notify").dismiss({ silent = true, pending = true })
|
require("notify").dismiss({ silent = true, pending = true })
|
||||||
end,
|
end,
|
||||||
desc = "Delete all Notifications",
|
desc = "Delete all Notifications",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
timeout = 3000,
|
timeout = 3000,
|
||||||
max_height = function()
|
max_height = function()
|
||||||
return math.floor(vim.o.lines * 0.75)
|
return math.floor(vim.o.lines * 0.75)
|
||||||
end,
|
end,
|
||||||
max_width = function()
|
max_width = function()
|
||||||
return math.floor(vim.o.columns * 0.75)
|
return math.floor(vim.o.columns * 0.75)
|
||||||
end,
|
end,
|
||||||
render = "wrapped-compact",
|
render = "wrapped-compact",
|
||||||
-- background_colour = "#00000000",
|
-- background_colour = "#00000000",
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local notify = require("notify")
|
local notify = require("notify")
|
||||||
notify.setup(opts)
|
notify.setup(opts)
|
||||||
vim.notify = notify.notify
|
vim.notify = notify.notify
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue