Moving notify to seperate file and passing config

This commit is contained in:
2023-09-06 00:05:31 +02:00
parent 306ccb34fa
commit b653557cba
2 changed files with 14 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
return {
"rcarriga/nvim-notify",
config = function()
local notify = require("notify")
notify.setup({
fps = 60,
stages = "slide",
timeout = 2500,
})
vim.notify = notify
end,
}

View File

@@ -32,12 +32,6 @@ return {
event = { "BufReadPre", "BufNewFile" },
config = true,
},
{
"rcarriga/nvim-notify",
config = function()
vim.notify = require("notify")
end,
},
{
"kylechui/nvim-surround",
version = "*",