mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 17:57:34 +00:00
Fix bug with notify plugin setup
This commit is contained in:
parent
a22d1b9244
commit
85822d8c08
@ -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,
|
||||
})
|
||||
|
||||
|
11
neovim/lua/plugins/notify.lua
Normal file
11
neovim/lua/plugins/notify.lua
Normal 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")
|
Loading…
Reference in New Issue
Block a user