Moving notify to seperate file and passing config
This commit is contained in:
14
lua/taken/plugins/notify.lua
Normal file
14
lua/taken/plugins/notify.lua
Normal 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,
|
||||||
|
}
|
||||||
@@ -32,12 +32,6 @@ return {
|
|||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"rcarriga/nvim-notify",
|
|
||||||
config = function()
|
|
||||||
vim.notify = require("notify")
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"kylechui/nvim-surround",
|
"kylechui/nvim-surround",
|
||||||
version = "*",
|
version = "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user