remove telescope fzf-native.nvim plugin

This commit is contained in:
siduck 2022-01-01 16:24:19 +05:30
parent edcf93ea81
commit abe720b881
2 changed files with 7 additions and 21 deletions

View file

@ -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")

View file

@ -216,20 +216,13 @@ 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-media-files.nvim",
"nvim-telescope/telescope-fzf-native.nvim", disable = not plugin_settings.status.telescope_media,
run = "make", setup = function()
}, require("core.mappings").telescope_media()
{ end,
"nvim-telescope/telescope-media-files.nvim",
disable = not plugin_settings.status.telescope_media,
setup = function()
require("core.mappings").telescope_media()
end,
},
}, },
config = override_req("telescope", "plugins.configs.telescope"), config = override_req("telescope", "plugins.configs.telescope"),
setup = function() setup = function()