aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/utils.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/utils.lua')
-rw-r--r--lua/alpha/utils.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/alpha/utils.lua b/lua/alpha/utils.lua
index b1911bc..cd7d2bb 100644
--- a/lua/alpha/utils.lua
+++ b/lua/alpha/utils.lua
@@ -1,4 +1,9 @@
local utils = {}
+-- TODO check to add to the notify configuration
+local ok, notify = pcall(require, "notify")
+if ok then
+ vim.notify = notify.notify
+end
utils.save_and_exec = function()
local source_commands = {