remove telescope fzf-native.nvim plugin
This commit is contained in:
parent
edcf93ea81
commit
abe720b881
|
@ -52,13 +52,6 @@ telescope.setup {
|
||||||
buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
||||||
},
|
},
|
||||||
extensions = {
|
extensions = {
|
||||||
fzf = {
|
|
||||||
fuzzy = true, -- false will only do exact matching
|
|
||||||
override_generic_sorter = false, -- override the generic sorter
|
|
||||||
override_file_sorter = true, -- override the file sorter
|
|
||||||
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
|
||||||
-- the default case_mode is "smart_case"
|
|
||||||
},
|
|
||||||
media_files = {
|
media_files = {
|
||||||
filetypes = { "png", "webp", "jpg", "jpeg" },
|
filetypes = { "png", "webp", "jpg", "jpeg" },
|
||||||
find_cmd = "rg", -- find command (defaults to `fd`)
|
find_cmd = "rg", -- find command (defaults to `fd`)
|
||||||
|
@ -66,8 +59,8 @@ telescope.setup {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local extensions = { "themes", "terms", "fzf" }
|
local extensions = { "themes", "terms" }
|
||||||
local packer_repos = [["extensions", "telescope-fzf-native.nvim"]]
|
local packer_repos = [["extensions"]]
|
||||||
|
|
||||||
if vim.fn.executable "ueberzug" == 1 then
|
if vim.fn.executable "ueberzug" == 1 then
|
||||||
table.insert(extensions, "media_files")
|
table.insert(extensions, "media_files")
|
||||||
|
|
|
@ -216,21 +216,14 @@ return packer.startup(function()
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
module = "telescope",
|
|
||||||
cmd = "Telescope",
|
cmd = "Telescope",
|
||||||
requires = {
|
requires = {
|
||||||
{
|
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
|
||||||
run = "make",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-telescope/telescope-media-files.nvim",
|
"nvim-telescope/telescope-media-files.nvim",
|
||||||
disable = not plugin_settings.status.telescope_media,
|
disable = not plugin_settings.status.telescope_media,
|
||||||
setup = function()
|
setup = function()
|
||||||
require("core.mappings").telescope_media()
|
require("core.mappings").telescope_media()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
|
||||||
config = override_req("telescope", "plugins.configs.telescope"),
|
config = override_req("telescope", "plugins.configs.telescope"),
|
||||||
setup = function()
|
setup = function()
|
||||||
require("core.mappings").telescope()
|
require("core.mappings").telescope()
|
||||||
|
|
Loading…
Reference in New Issue