summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2022-07-06 08:26:22 +0200
committerGitHub <noreply@github.com>2022-07-06 08:26:22 +0200
commit02cf3e40703e25b49a8193a4159592576bbe530f (patch)
tree5ae26848c45af33e062077978a964fbae149fc8c /doc
parent6ea106329ab772328a32f79c79f8004093817b4f (diff)
feat: grep_open_files for builtin.grep_string (#2039)
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index 6e9c638..eb980d1 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -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)