mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix: load notify's telescope extension properly (#2586)
* fix: load notify's telescope extension * fix: add which-key integration for notify
This commit is contained in:
parent
15da6658c8
commit
42529e1c4f
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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" },
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue