diff options
| author | Nazeeh ElDirghami <32499832+Nazeehe@users.noreply.github.com> | 2021-08-04 03:07:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 09:07:04 +0200 |
| commit | ca195e32e0d6e9238fb2dd405e2f794ab8c90819 (patch) | |
| tree | 310d3766537201a5314c570679ea44eb02aef608 /doc | |
| parent | b7cd8c7699623c4b351009192dc9a03a54195e6b (diff) | |
feat: live_grep and grep_string function for additional opts (allow file mask) (#1017)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index 78ddabb..cd6602d 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -332,11 +332,13 @@ builtin.live_grep({opts}) *builtin.live_grep()* {opts} (table) options to pass to the picker Fields: ~ - {grep_open_files} (boolean) if true, restrict search to open files - only, mutually exclusive with - `search_dirs` - {search_dirs} (table) directory/directories to search in, - mutually exclusive with `grep_open_files` + {grep_open_files} (boolean) if true, restrict search to open files + only, mutually exclusive with + `search_dirs` + {search_dirs} (table) directory/directories to search in, + mutually exclusive with `grep_open_files` + {additional_args} (function) function(opts) which returns a table of + additional arguments to be passed on builtin.grep_string({opts}) *builtin.grep_string()* @@ -347,10 +349,13 @@ builtin.grep_string({opts}) *builtin.grep_string()* {opts} (table) options to pass to the picker Fields: ~ - {search} (string) the query to search - {search_dirs} (table) directory/directories to search in - {use_regex} (boolean) if true, special characters won't be escaped, - allows for using regex (default is false) + {search} (string) the query to search + {search_dirs} (table) directory/directories to search in + {use_regex} (boolean) if true, special characters won't be + escaped, allows for using regex (default + is false) + {additional_args} (function) function(opts) which returns a table of + additional arguments to be passed on builtin.find_files({opts}) *builtin.find_files()* |
