diff options
author | Abouzar Parvan <[email protected]> | 2022-04-28 19:00:39 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-28 19:00:39 +0430 |
commit | 6a66e39f29f8bd1a7dce5e34c0790328f0e0db92 (patch) | |
tree | dff2e469f7855f7e5388517abdce16af4c3583ca /lua/lvim/core/notify.lua | |
parent | dd65e285656a5c46c52144f4e082c8e2d1d95757 (diff) |
feat(icons): make it possible to disable icons (#2529)
Diffstat (limited to 'lua/lvim/core/notify.lua')
-rw-r--r-- | lua/lvim/core/notify.lua | 9 |
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 |