Ignore some directories from telescope live grep

This commit is contained in:
2023-09-14 21:45:37 +02:00
parent 74d8b2c268
commit 2c87fb26a9
+10 -1
View File
@@ -27,7 +27,16 @@ vim.keymap.set(
vim.keymap.set(
"n", "<leader>fg", function ()
builtin.live_grep(
{ additional_args = function (_) return { "--hidden", } end, }
{
additional_args = function (_)
return {
"--hidden",
"--iglob=!.venv",
"--iglob=!vendor",
"--iglob=!.git",
}
end,
}
)
end
)