mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(notify): enable telescope extension of nvim-notify
Co-authored-by: abeldekat <abel@nomail.com>
This commit is contained in:
parent
4a2c89cd1d
commit
66ae2f46e1
1 changed files with 23 additions and 0 deletions
|
|
@ -30,6 +30,29 @@ return {
|
||||||
end
|
end
|
||||||
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
|
-- better vim.ui
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue