From 383a25fe22c444d83cb9ea126db66e9a0ba0201e Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 9 Nov 2023 14:59:51 -0600 Subject: [PATCH] refactor(nvim): improve telescope fd search --- dots/.config/nvim/lua/plugins/configs/telescope.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/telescope.lua b/dots/.config/nvim/lua/plugins/configs/telescope.lua index 09dfe1ea..6b94fa92 100644 --- a/dots/.config/nvim/lua/plugins/configs/telescope.lua +++ b/dots/.config/nvim/lua/plugins/configs/telescope.lua @@ -54,9 +54,13 @@ return { find_files = { find_command = { "fd", - "--no-ignore", + "--hidden", + "--type", + "f", + "--strip-cwd-prefix", + "--exclude", + ".git/" }, - hidden = true, }, }, defaults = {