From 16508476d05a4c7384eb45ee1b602e3c72b5bca6 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Fri, 16 Aug 2024 13:45:56 +0200 Subject: [PATCH] chore(telescope): add no_ignore = true option to find_files --- lua/plugins/telescope.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index fcf007b..e1d773f 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -27,8 +27,12 @@ return { } end, keys = { - { "", "Telescope find_files", desc = "Find files" }, - { "p", "Telescope live_grep", desc = "Live Grep" }, + { "", "Telescope find_files", desc = "Find files" }, + { + "p", + function() require("telescope.builtin").live_grep({ no_ignore = true }) end, + desc = "Live Grep" + }, -- Search almost everything (except .git folder) { "fa",