From e5484551ef643bb52b24a0a023c1c368afb48b28 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 19 Feb 2024 04:40:52 -0600 Subject: [PATCH] refactor(nvim): do not search in `.git` directories with vimgrep --- dots/.config/nvim/lua/plugins/configs/telescope.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.config/nvim/lua/plugins/configs/telescope.lua b/dots/.config/nvim/lua/plugins/configs/telescope.lua index 767d69a3..603051af 100644 --- a/dots/.config/nvim/lua/plugins/configs/telescope.lua +++ b/dots/.config/nvim/lua/plugins/configs/telescope.lua @@ -79,6 +79,7 @@ return { "--column", "--smart-case", "--hidden", + "--glob=!.git/*" }, history = { path = "~/.local/share/nvim/databases/telescope_history.sqlite3",