diff --git a/lua/plugins/functional/telescope.lua b/lua/plugins/functional/telescope.lua index c232a17..f416d96 100644 --- a/lua/plugins/functional/telescope.lua +++ b/lua/plugins/functional/telescope.lua @@ -12,6 +12,13 @@ return { defaults = { file_ignore_patterns = { ".git", ".venv", ".node_modules" }, }, + pickers = { + live_grep = { + additional_args = function(opts) + return { "--hidden" } + end, + }, + }, extensions = { file_browser = { theme = "ivy", @@ -47,7 +54,7 @@ return { end) vim.keymap.set("n", "fg", function() - builtin.live_grep() + builtin.live_grep({ hidden = true }) end, { desc = "Telescope live grep (current file dir)" }) vim.keymap.set("n", "fb", function()