feat(notify): enable telescope extension of nvim-notify

Co-authored-by: abeldekat <abel@nomail.com>
This commit is contained in:
MoetaYuko 2023-08-08 17:31:33 +08:00
parent 4a2c89cd1d
commit 66ae2f46e1

View file

@ -30,6 +30,29 @@ return {
end
end,
},
{
"nvim-telescope/telescope.nvim",
opts = function()
local Util = require("lazyvim.util")
if Util.has("nvim-notify") then
require("telescope").load_extension("notify")
end
end,
dependencies = {
{
"rcarriga/nvim-notify",
keys = {
{
"<leader>sN",
function()
require("telescope").extensions.notify.notify()
end,
desc = "Notifications",
},
},
},
},
},
-- better vim.ui
{