Skip to content

Commit

Permalink
Add native fzf executable check to telescope config funciton
Browse files Browse the repository at this point in the history
  • Loading branch information
JosBritton committed Dec 14, 2023
1 parent 9ab8d1d commit a73b8d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ return {
error("ripgrep not installed")
end

if vim.fn.executable "fzf" ~= 1 then
error("fzf not installed")
end

-- enable telescope fzf native, if installed
pcall(require("telescope").load_extension, "fzf")

Expand Down

0 comments on commit a73b8d8

Please sign in to comment.