summaryrefslogtreecommitdiff
path: root/lua/lvim/core/notify.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-05-03 08:55:15 +0200
committerkylo252 <[email protected]>2022-05-03 08:55:15 +0200
commite264bff7e820ba891cd16892de52236d62f7821f (patch)
tree4262530ac7738ebdec0fa6abab560610789b72f3 /lua/lvim/core/notify.lua
parentad5eeaf6ad12cf05e4b936690bf78bc53827b12c (diff)
parentcfa702e6fe2f875a2c674182fe2f86e8f613aa1e (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'lua/lvim/core/notify.lua')
-rw-r--r--lua/lvim/core/notify.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/lvim/core/notify.lua b/lua/lvim/core/notify.lua
index cb62778f..2db4c4d5 100644
--- a/lua/lvim/core/notify.lua
+++ b/lua/lvim/core/notify.lua
@@ -39,6 +39,15 @@ local defaults = {
}
function M.config()
+ if not lvim.use_icons then
+ defaults.opts.icons = {
+ ERROR = "[ERROR]",
+ WARN = "[WARNING]",
+ INFO = "[INFo]",
+ DEBUG = "[DEBUG]",
+ TRACE = "[TRACE]",
+ }
+ end
lvim.builtin.notify = vim.tbl_deep_extend("force", defaults, lvim.builtin.notify or {})
end