From c9d13bb1cc23f5e39d48debc2d4fef0e7955f3de Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 6 Oct 2025 13:55:15 -0500 Subject: [PATCH] fix ignores --- lua/plugins/telescope.lua | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index d775bbb..cda1219 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -30,20 +30,19 @@ return { }, defaults = { file_ignore_patterns = { - "node_modules", + "^dist/", + "^build/", + "target/", + "node_modules/", "package-lock.json", - "target", - ".git", - ".direnv", + ".git/", + ".direnv/", + ".aider/", ".pytest_cache", "__pycache__", ".venv", - "venv", + "venv$", ".mypy_cache", - "dist", - "build", - "poackage-lock.json", - ".aider*", }, mappings = { i = { @@ -122,6 +121,7 @@ return { "ff", function() require("telescope.builtin").find_files({ + cwd = vim.fn.getcwd(), hidden = true, follow = true, no_ignore = true, @@ -134,6 +134,7 @@ return { "fg", function() require("telescope.builtin").git_files({ + cwd = vim.fn.getcwd(), hidden = true, }) end, @@ -145,6 +146,7 @@ return { U.cmd_executable("rg", { function() require("telescope.builtin").live_grep({ + cwd = vim.fn.getcwd(), hidden = true, follow = true, no_ignore = true,