chore: remove dot at the beginning (#1552)

We added this for rg 13.0 release because it was needed but it doesnt
seem to be needed anymore. Weird

This might be due to some changes in neovim or due to changes to jobs
This commit is contained in:
Simon Hauser
2021-12-27 09:51:41 +01:00
committed by GitHub
parent 802fe5d49e
commit 88437804e1

View File

@@ -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, {