Skip to content

Commit

Permalink
refactor: simplified fzf native example
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 24, 2023
1 parent 2d99662 commit 01a27d1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lua/plugins/example.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ return {

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

-- add pyright to lspconfig
Expand Down

0 comments on commit 01a27d1

Please sign in to comment.