feat(notify): better defaults
This commit is contained in:
1 file changed
+9
-6
@@ -2,12 +2,15 @@ return {
|
|||||||
-- better vim.notify
|
-- better vim.notify
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
init = function()
|
config = {
|
||||||
vim.notify = function(...)
|
timeout = 3000,
|
||||||
vim.notify = require("notify")
|
max_height = function()
|
||||||
return vim.notify(...)
|
return math.floor(vim.o.lines * 0.75)
|
||||||
end
|
end,
|
||||||
end,
|
max_width = function()
|
||||||
|
return math.floor(vim.o.columns * 0.75)
|
||||||
|
end,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- better vim.ui
|
-- better vim.ui
|
||||||
|
|||||||
Reference in new issue
Block a user