mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 04:47:36 +00:00
bf630d6bbf
Also provides some graceful degradation without them
21 lines
572 B
Lua
21 lines
572 B
Lua
local utils = require("utils")
|
|
local notify = require("notify")
|
|
local icons = require("icons")
|
|
|
|
notify.setup({
|
|
icons = {
|
|
ERROR = icons.diagnostic_signs.Error,
|
|
WARN = icons.diagnostic_signs.Warn,
|
|
DEBUG = icons.diagnostic_signs.Hint,
|
|
TRACE = icons.diagnostic_signs.Pencil,
|
|
INFO = icons.diagnostic_signs.Info,
|
|
},
|
|
})
|
|
|
|
vim.notify = notify
|
|
|
|
-- Add Telescope keymap
|
|
utils.try_require("telescope", function(telescope)
|
|
utils.keymap_set("n", "<leader>fn", telescope.extensions.notify.notify, { desc = "Find notifications" })
|
|
end)
|