diff --git a/lua/python_import/notify.lua b/lua/python_import/notify.lua index 255894c..d703566 100644 --- a/lua/python_import/notify.lua +++ b/lua/python_import/notify.lua @@ -13,6 +13,13 @@ else local status, nvim_notify = pcall(require, "notify") if status then M.notify = nvim_notify + else + M.notify = function(message, level, opts) + if type(message) == "table" then + message = table.concat(message, "\n") + end + vim.notify(message, level, opts) + end end end