refactor: simplified fzf native example

This commit is contained in:
Folke Lemaitre 2023-01-24 14:50:26 +01:00
parent 2d99662e1a
commit 01a27d15c4
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040

View File

@ -74,14 +74,14 @@ return {
-- add telescope-fzf-native -- add telescope-fzf-native
{ {
"nvim-telescope/telescope.nvim", "telescope.nvim",
dependencies = { { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } }, dependencies = {
-- apply the config and additionally load fzf-native "nvim-telescope/telescope-fzf-native.nvim",
config = function(_, opts) build = "make",
local telescope = require("telescope") config = function()
telescope.setup(opts) require("telescope").load_extension("fzf")
telescope.load_extension("fzf") end,
end, },
}, },
-- add pyright to lspconfig -- add pyright to lspconfig