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,
},
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 = {
filetypes = { "png", "webp", "jpg", "jpeg" },
find_cmd = "rg", -- find command (defaults to `fd`)
@ -66,8 +59,8 @@ telescope.setup {
},
}
local extensions = { "themes", "terms", "fzf" }
local packer_repos = [["extensions", "telescope-fzf-native.nvim"]]
local extensions = { "themes", "terms" }
local packer_repos = [["extensions"]]
if vim.fn.executable "ueberzug" == 1 then
table.insert(extensions, "media_files")

View File

@ -216,21 +216,14 @@ return packer.startup(function()
use {
"nvim-telescope/telescope.nvim",
module = "telescope",
cmd = "Telescope",
requires = {
{
"nvim-telescope/telescope-fzf-native.nvim",
run = "make",
},
{
"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"),
setup = function()
require("core.mappings").telescope()