From b3d4b4a1460574b2382e1438a56216e06aba403e Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 5 Sep 2023 12:43:59 +0200 Subject: [PATCH] Moved vim.notify option to vim notify plugin opts --- lua/taken/init.lua | 2 -- lua/taken/plugins/otherplugins.lua | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/taken/init.lua b/lua/taken/init.lua index 838e146..7c9a9ba 100644 --- a/lua/taken/init.lua +++ b/lua/taken/init.lua @@ -1,5 +1,3 @@ require("taken.core") require("taken.lazy") require("taken.prefs") - -vim.notify = require("notify") diff --git a/lua/taken/plugins/otherplugins.lua b/lua/taken/plugins/otherplugins.lua index 132fc23..a9394a6 100644 --- a/lua/taken/plugins/otherplugins.lua +++ b/lua/taken/plugins/otherplugins.lua @@ -28,7 +28,12 @@ return { "NvChad/nvim-colorizer.lua", config = true, }, - "rcarriga/nvim-notify", + { + "rcarriga/nvim-notify", + config = function() + vim.notify = require("notify") + end, + }, { "kylechui/nvim-surround", version = "*",