Merge pull request #908 from Conni2461/fix_rg13

fix: ripgrep 13
This commit is contained in:
Christian Clason
2021-06-12 18:19:03 +02:00
committed by GitHub

View File

@@ -70,7 +70,7 @@ 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)
elseif os_sep == '\\' then else
table.insert(search_list, '.') table.insert(search_list, '.')
end end
@@ -117,7 +117,7 @@ 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
elseif os_sep == '\\' then else
table.insert(args, '.') table.insert(args, '.')
end end