summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-12-27 09:51:41 +0100
committerGitHub <noreply@github.com>2021-12-27 09:51:41 +0100
commit88437804e157196f053d0fa62dc891facd9ab746 (patch)
tree13afd7958bdb1c6cd6047faf4bd2ac0847a830d2
parent802fe5d49e1150b7aebd4a9f15043156eefcfcf8 (diff)
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
-rw-r--r--lua/telescope/builtin/files.lua4
1 files changed, 0 insertions, 4 deletions
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, {