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:
@@ -85,8 +85,6 @@ files.live_grep = function(opts)
|
|||||||
|
|
||||||
if search_dirs then
|
if search_dirs then
|
||||||
table.insert(search_list, search_dirs)
|
table.insert(search_list, search_dirs)
|
||||||
else
|
|
||||||
table.insert(search_list, ".")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if grep_open_files then
|
if grep_open_files then
|
||||||
@@ -137,8 +135,6 @@ files.grep_string = function(opts)
|
|||||||
for _, path in ipairs(search_dirs) do
|
for _, path in ipairs(search_dirs) do
|
||||||
table.insert(args, vim.fn.expand(path))
|
table.insert(args, vim.fn.expand(path))
|
||||||
end
|
end
|
||||||
else
|
|
||||||
table.insert(args, ".")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
pickers.new(opts, {
|
pickers.new(opts, {
|
||||||
|
|||||||
Reference in New Issue
Block a user