feat: add no_ignore option to find_files (#1010)

Allow find_files to find files ignored by .gitignore
and other ignore files. This is supported by fd, rg, and fdfind.
This commit is contained in:
Lee Marlow
2021-07-29 03:45:19 -06:00
committed by GitHub
parent 767e42f2e9
commit 82f4d3028b
2 changed files with 17 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ builtin.grep_string = require("telescope.builtin.files").grep_string
---@field find_command table: command line arguments for `find_files` to use for the search, overrides default config
---@field follow boolean: if true, follows symlinks (i.e. uses `-L` flag for the `find` command)
---@field hidden boolean: determines whether to show hidden files or not (default is false)
---@field no_ignore boolean: show files ignored by .gitignore, .ignore, etc. (default is false)
---@field search_dirs table: directory/directories to search in
builtin.find_files = require("telescope.builtin.files").find_files