From d53652549c09864e90c75860ad822d747d28bc1e Mon Sep 17 00:00:00 2001 From: Scott McKendry <39483124+scottmckendry@users.noreply.github.com> Date: Mon, 24 Jun 2024 07:33:29 +1200 Subject: [PATCH] add fzf-native telescope extension :bulb: --- Setup.ps1 | 2 ++ nvim/lua/plugins/telescope.lua | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/Setup.ps1 b/Setup.ps1 index c47a3de..de020ac 100644 --- a/Setup.ps1 +++ b/Setup.ps1 @@ -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" diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua index 0611739..3dccbda 100644 --- a/nvim/lua/plugins/telescope.lua +++ b/nvim/lua/plugins/telescope.lua @@ -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)