aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/utils.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-21 23:05:43 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-01-21 23:05:43 +0100
commite33750c6612e645ab3ca934cc936ccc02f0b4690 (patch)
tree6fb5051c45b8ff5aa759e11053db937671f4629f /lua/alpha/utils.lua
parent221b69d165669371695842d12a85f338ac17ce47 (diff)
downloadnvim-conf-e33750c6612e645ab3ca934cc936ccc02f0b4690.tar.gz
nvim-conf-e33750c6612e645ab3ca934cc936ccc02f0b4690.zip
feat: fix snippets reload, add telescope actions for plugins and config
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 = {