diff options
| author | Bryce Montano <brycemontano1@gmail.com> | 2022-08-13 03:03:34 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-13 11:03:34 +0200 |
| commit | ad32a4c4535af9feae1f16129de22cfc57921ef8 (patch) | |
| tree | 35504ef88555d9317cde081d06d6dff2e9e2a819 /lua | |
| parent | c6cd725bc0ffd19e07679a22bacf233d9af866db (diff) | |
fix: find_files to force color=never (#2130)
Co-authored-by: Bryce Montano <brycesec@amazon.com>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin/__files.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/telescope/builtin/__files.lua b/lua/telescope/builtin/__files.lua index 33b1c50..df3ccc9 100644 --- a/lua/telescope/builtin/__files.lua +++ b/lua/telescope/builtin/__files.lua @@ -181,11 +181,11 @@ files.find_files = function(opts) end return opts.find_command elseif 1 == vim.fn.executable "rg" then - return { "rg", "--files" } + return { "rg", "--files", "--color", "never" } elseif 1 == vim.fn.executable "fd" then - return { "fd", "--type", "f" } + return { "fd", "--type", "f", "--color", "never" } elseif 1 == vim.fn.executable "fdfind" then - return { "fdfind", "--type", "f" } + return { "fdfind", "--type", "f", "--color", "never" } elseif 1 == vim.fn.executable "find" and vim.fn.has "win32" == 0 then return { "find", ".", "-type", "f" } elseif 1 == vim.fn.executable "where" then |
