refeactor(nvim): remove unused telescope extensions
This commit is contained in:
parent
d1154daa1c
commit
b9f962ee50
@ -32,11 +32,11 @@ return {
|
||||
{ "<leader>tk", ":Telescope keymaps<CR>", desc = "Telescope: Keymaps" },
|
||||
{ "<leader>tc", ":Telescope commands<CR>", desc = "Telescope: Commands" },
|
||||
{ "<leader>tu", ":Telescope undo<CR>", desc = "Telescope: Undo History" },
|
||||
{ "<leader>tm", ":Telescope man_pages<CR>", desc = "Telescope: Man Pages" },
|
||||
{ "<leader>lq", ":Telescope diagnostics bufnr=0<CR>", desc = "LSP: Telescope Diagnostics" },
|
||||
{ "<leader>nv", ":Telescope notify<CR>", desc = "Notifications: Search" },
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope-media-files.nvim",
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
"artart222/telescope_find_directories",
|
||||
"nvim-telescope/telescope-ui-select.nvim",
|
||||
@ -119,10 +119,6 @@ return {
|
||||
buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
||||
},
|
||||
extensions = {
|
||||
media_files = {
|
||||
filetypes = { "png", "webp", "jpg", "jpeg" },
|
||||
find_cmd = "rg",
|
||||
},
|
||||
["ui-select"] = {
|
||||
require("telescope.themes").get_dropdown(),
|
||||
},
|
||||
@ -144,7 +140,6 @@ return {
|
||||
},
|
||||
})
|
||||
|
||||
telescope.load_extension("media_files")
|
||||
telescope.load_extension("find_directories")
|
||||
telescope.load_extension("file_browser")
|
||||
telescope.load_extension("notify")
|
||||
|
Loading…
Reference in New Issue
Block a user