feat: grep_open_files for builtin.grep_string (#2039)

This commit is contained in:
Simon Hauser
2022-07-06 08:26:22 +02:00
committed by GitHub
parent 6ea106329a
commit 02cf3e4070
3 changed files with 41 additions and 29 deletions

View File

@@ -866,8 +866,12 @@ builtin.grep_string({opts}) *telescope.builtin.grep_string()*
cwd, use utils.buffer_dir() to
search relative to open buffer)
{search} (string) the query to search
{grep_open_files} (boolean) if true, restrict search to open
files only, mutually exclusive with
`search_dirs`
{search_dirs} (table) directory/directories/files to
search
search, mutually exclusive with
`grep_open_files`
{use_regex} (boolean) if true, special characters won't be
escaped, allows for using regex
(default: false)