diff options
| author | Christian Clason <christian.clason@uni-due.de> | 2021-06-12 18:19:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-12 18:19:03 +0200 |
| commit | 398a0d391aa2afcda1521a8e86b820ffb599b60b (patch) | |
| tree | 62e0cf51c3520548fb6f44534e80f08a284363dc | |
| parent | e27c87f88a7f726058e7672eeb980bfe1dad2d12 (diff) | |
| parent | 6aa66d92112fccd2819172c72fc2ce5fa757b5ec (diff) | |
Merge pull request #908 from Conni2461/fix_rg13
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 |
