From 88437804e157196f053d0fa62dc891facd9ab746 Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Mon, 27 Dec 2021 09:51:41 +0100 Subject: [PATCH] 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 --- lua/telescope/builtin/files.lua | 4 ---- 1 file changed, 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, {