summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/lvim/core/telescope.lua6
-rw-r--r--lua/lvim/core/which-key.lua1
-rw-r--r--lua/lvim/plugins.lua2
3 files changed, 7 insertions, 2 deletions
diff --git a/lua/lvim/core/telescope.lua b/lua/lvim/core/telescope.lua
index 07dd4b89..6a04a866 100644
--- a/lua/lvim/core/telescope.lua
+++ b/lua/lvim/core/telescope.lua
@@ -130,6 +130,12 @@ function M.setup()
end)
end
+ if lvim.builtin.notify.active then
+ pcall(function()
+ require("telescope").load_extension "notify"
+ end)
+ end
+
if lvim.builtin.telescope.on_config_done then
lvim.builtin.telescope.on_config_done(telescope)
end
diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua
index be4487f3..b1ae6f87 100644
--- a/lua/lvim/core/which-key.lua
+++ b/lua/lvim/core/which-key.lua
@@ -234,6 +234,7 @@ M.config = function()
},
P = { "<cmd>edit $LUNARVIM_CACHE_DIR/packer.nvim.log<cr>", "Open the Packer logfile" },
},
+ n = { "<cmd>Telescope notify<cr>", "View Notifications" },
r = { "<cmd>LvimReload<cr>", "Reload LunarVim's configuration" },
u = { "<cmd>LvimUpdate<cr>", "Update LunarVim" },
},
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua
index e0445d58..3055a0a6 100644
--- a/lua/lvim/plugins.lua
+++ b/lua/lvim/plugins.lua
@@ -24,7 +24,6 @@ local core_plugins = {
},
{
"rcarriga/nvim-notify",
-
config = function()
require("lvim.core.notify").setup()
end,
@@ -38,7 +37,6 @@ local core_plugins = {
-- Telescope
{
"nvim-telescope/telescope.nvim",
-
config = function()
require("lvim.core.telescope").setup()
end,