summaryrefslogtreecommitdiff
path: root/lua/mo/notif.lua
diff options
context:
space:
mode:
authorMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-20 15:55:27 -0500
committerMohammad Reza Karimi <m.r.karimi.j@gmail.com>2026-01-20 15:55:27 -0500
commitaa5717f00fd14430c80939a68d7107c26de6e554 (patch)
tree784e99d9b018e0554369c41cb33e2e195e28d3c6 /lua/mo/notif.lua
first commit
Diffstat (limited to 'lua/mo/notif.lua')
-rw-r--r--lua/mo/notif.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/mo/notif.lua b/lua/mo/notif.lua
new file mode 100644
index 0000000..019afbd
--- /dev/null
+++ b/lua/mo/notif.lua
@@ -0,0 +1,8 @@
+local M = {}
+
+M.err = function(e) vim.notify(e, vim.log.levels.ERROR) end
+M.info = function(e) vim.notify(e, vim.log.levels.INFO) end
+M.debug = function(e) vim.notify(e, vim.log.levels.DEBUG) end
+M.warn = function(e) vim.notify(e, vim.log.levels.WARN) end
+
+return M