diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-06-12 17:53:35 +0200 |
|---|---|---|
| committer | Simon Hauser <Simon-Hauser@outlook.de> | 2021-06-12 17:53:35 +0200 |
| commit | 6aa66d92112fccd2819172c72fc2ce5fa757b5ec (patch) | |
| tree | 62e0cf51c3520548fb6f44534e80f08a284363dc | |
| parent | e27c87f88a7f726058e7672eeb980bfe1dad2d12 (diff) | |
fix: ripgrep 13
| -rw-r--r-- | lua/telescope/builtin/files.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/telescope/builtin/files.lua b/lua/telescope/builtin/files.lua index a54f31a..08eb4dd 100644 --- a/lua/telescope/builtin/files.lua +++ b/lua/telescope/builtin/files.lua @@ -70,7 +70,7 @@ files.live_grep = function(opts) if search_dirs then table.insert(search_list, search_dirs) - elseif os_sep == '\\' then + else table.insert(search_list, '.') end @@ -117,7 +117,7 @@ files.grep_string = function(opts) for _, path in ipairs(search_dirs) do table.insert(args, vim.fn.expand(path)) end - elseif os_sep == '\\' then + else table.insert(args, '.') end |
