mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:57:33 +00:00
Fix bug with notify plugin setup
This commit is contained in:
parent
a22d1b9244
commit
85822d8c08
@ -401,15 +401,7 @@ use({
|
|||||||
use({
|
use({
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
config = function()
|
config = function()
|
||||||
require("notify").setup({
|
require("plugins.notify")
|
||||||
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")
|
|
||||||
end,
|
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