From 0d04a83c9a67fa080ca70e6143dcc495f9f00a2b Mon Sep 17 00:00:00 2001 From: bunny winter Date: Mon, 6 Jan 2025 12:17:38 -0600 Subject: [PATCH] show hidden files when using telescope find_files --- lua/nyanko/lazy/telescope.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/nyanko/lazy/telescope.lua b/lua/nyanko/lazy/telescope.lua index 3731af8..f592842 100644 --- a/lua/nyanko/lazy/telescope.lua +++ b/lua/nyanko/lazy/telescope.lua @@ -13,6 +13,11 @@ return { require("telescope.themes").get_dropdown(), }, }, + pickers = { + find_files = { + find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" }, + }, + }, }) pcall(require("telescope").load_extension, "ui-select")