Fix bug with notify plugin setup

This commit is contained in:
ViViDboarder 2022-10-14 14:41:14 -07:00
parent a22d1b9244
commit 85822d8c08
2 changed files with 12 additions and 9 deletions

View File

@ -401,15 +401,7 @@ use({
use({
"rcarriga/nvim-notify",
config = function()
require("notify").setup({
icons = {
ERROR = utils.diagnostic_signs.Error,
WARN = utils.diagnostic_signs.Warn,
DEBUG = utils.diagnostic_signs.Hint,
INFO = utils.diagnostic_signs.Info,
},
})
vim.notify = require("notify")
require("plugins.notify")
end,
})

View File

@ -0,0 +1,11 @@
local utils = require("utils")
require("notify").setup({
icons = {
ERROR = utils.diagnostic_signs.Error,
WARN = utils.diagnostic_signs.Warn,
DEBUG = utils.diagnostic_signs.Hint,
TRACE = utils.diagnostic_signs.Pencil,
INFO = utils.diagnostic_signs.Info,
},
})
vim.notify = require("notify")