diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua index 99518ef..79d4ad4 100644 --- a/lua/telescope/builtin/files.lua +++ b/lua/telescope/builtin/files.lua @@ -85,8 +85,6 @@ files.live_grep = function(opts) if search_dirs then table.insert(search_list, search_dirs) - else - table.insert(search_list, ".") end if grep_open_files then @@ -137,8 +135,6 @@ files.grep_string = function(opts) for _, path in ipairs(search_dirs) do table.insert(args, vim.fn.expand(path)) end - else - table.insert(args, ".") end pickers.new(opts, {