diff options
Diffstat (limited to 'lua/mo/notif.lua')
| -rw-r--r-- | lua/mo/notif.lua | 8 |
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 |
