refactor(nvim): move notify telescope load to nvim-notify
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s
This commit is contained in:
parent
ea9f8e3227
commit
744da19697
@ -79,6 +79,17 @@ return {
|
||||
end,
|
||||
desc = "Notifications: Dismiss",
|
||||
},
|
||||
{
|
||||
"<leader>nv",
|
||||
function()
|
||||
if not vim.g.nvim_notify_telescope_loaded then
|
||||
require("telescope").load_extension("notify")
|
||||
vim.g.nvim_notify_telescope_loaded = true
|
||||
end
|
||||
require("telescope").extensions.notify.notify()
|
||||
end,
|
||||
desc = "Notifications: Search",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
local base = require("notify.render.base")
|
||||
|
@ -58,7 +58,6 @@ return {
|
||||
{ "<leader>tu", ":Telescope undo<CR>", desc = "Telescope: Undo History", silent = true },
|
||||
{ "<leader>tm", ":Telescope man_pages<CR>", desc = "Telescope: Man Pages", silent = true },
|
||||
{ "<leader>tq", ":Telescope quickfixhistry", desc = "LSP: Telescope Quickfix History", silent = true },
|
||||
{ "<leader>nv", ":Telescope notify<CR>", desc = "Notifications: Search", silent = true },
|
||||
{ "<leader>tt", ":Telescope<CR>", desc = "Telescope: Open Telescope", silent = true },
|
||||
{
|
||||
"<leader>tz",
|
||||
@ -109,7 +108,6 @@ return {
|
||||
"nvim-telescope/telescope-frecency.nvim",
|
||||
},
|
||||
"debugloop/telescope-undo.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
},
|
||||
config = function()
|
||||
@ -231,7 +229,6 @@ return {
|
||||
})
|
||||
|
||||
telescope.load_extension("find_directories")
|
||||
telescope.load_extension("notify")
|
||||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("ui-select")
|
||||
telescope.load_extension("undo")
|
||||
|
Loading…
Reference in New Issue
Block a user