Skip to content

Commit

Permalink
add fzf-native telescope extension 💡
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Jun 23, 2024
1 parent 2f28655 commit d536525
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ $symlinks = @{
$wingetDeps = @(
"chocolatey.chocolatey"
"eza-community.eza"
"ezwinports.make"
"fastfetch-cli.fastfetch"
"git.git"
"github.cli"
"kitware.cmake"
"mbuilov.sed"
"microsoft.openjdk.21"
"microsoft.powershell"
Expand Down
8 changes: 8 additions & 0 deletions nvim/lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ return {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
{ "scottmckendry/telescope-resession.nvim", dev = true },
{
"nvim-telescope/telescope-fzf-native.nvim",
build = function()
local install_path = vim.fn.stdpath("data") .. "/lazy/telescope-fzf-native.nvim"
vim.cmd("silent !cd " .. install_path .. " && make")
end,
},
},
config = function()
local telescope = require("telescope")
local actions = require("telescope.actions")
require("telescope").load_extension("fzf")

local select_one_or_multi = function(prompt_bufnr)
local picker = require("telescope.actions.state").get_current_picker(prompt_bufnr)
Expand Down

0 comments on commit d536525

Please sign in to comment.