blob: 7d222a89507093459dabefcd75a7274c617c4488 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
local M = {}
function M.config()
local pallete = require "onedarker.palette"
lvim.builtin.notify = {
active = false,
on_config_done = nil,
-- TODO: update after https://github.com/rcarriga/nvim-notify/pull/24
opts = {
---@usage Animation style (see below for details)
stages = "fade_in_slide_out",
---@usage Default timeout for notifications
timeout = 5000,
---@usage For stages that change opacity this is treated as the highlight behind the window
background_colour = pallete.fg,
---@usage Icons for the different levels
icons = {
ERROR = "",
WARN = "",
INFO = "",
DEBUG = "",
TRACE = "✎",
},
},
}
end
return M
|