Skip to content

Commit

Permalink
Make telescope-fzf more stand-alone
Browse files Browse the repository at this point in the history
  • Loading branch information
hunger committed Mar 19, 2022
1 parent bbbaf33 commit 41564d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 1 addition & 9 deletions lua/configs/telescope.lua
Expand Up @@ -7,7 +7,6 @@ function M.config()
end

local actions = require "telescope.actions"
telescope.load_extension "fzf"

telescope.setup(require("core.utils").user_plugin_opts("plugins.telescope", {
defaults = {
Expand Down Expand Up @@ -95,14 +94,7 @@ function M.config()
},
},
pickers = {},
extensions = {
fzf = {
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = "smart_case",
},
},
extensions = {},
}))
end

Expand Down
4 changes: 4 additions & 0 deletions lua/core/plugins.lua
Expand Up @@ -252,7 +252,11 @@ local astro_plugins = {
-- Fuzzy finder syntax support
{
"nvim-telescope/telescope-fzf-native.nvim",
after = "nvim-telescope/telescope.nvim",
run = "make",
config = function()
require "telescope".load_extension("fzf")
end
},

-- Git integration
Expand Down

0 comments on commit 41564d9

Please sign in to comment.