diff options
| author | Anton <14187674+antosha417@users.noreply.github.com> | 2022-06-13 19:51:48 +0300 |
|---|---|---|
| committer | Simon Hauser <simon.hauser@helsinki-systems.de> | 2022-06-30 14:01:51 +0200 |
| commit | bef86acb6c9ddf25602d28f4ad4980806f25420e (patch) | |
| tree | 9abb91aa59363e35e2cd491e3153cabbc85e564d /doc | |
| parent | db4635bddf4a4f48c9edce80ce5157275e6bba34 (diff) | |
feat(rg): pass multiple globs to rg by default (#2003)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index 78cc7e4..15d957a 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -821,26 +821,28 @@ builtin.live_grep({opts}) *telescope.builtin.live_grep()* {opts} (table) options to pass to the picker Options: ~ - {cwd} (string) root dir to search from (default: - cwd, use utils.buffer_dir() to - search relative to open buffer) - {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, mutually exclusive with - `grep_open_files` - {glob_pattern} (string) argument to be used with `--glob`, - e.g. "*.toml", can use the opposite - "!*.toml" - {type_filter} (string) argument to be used with `--type`, - e.g. "rust", see `rg --type-list` - {additional_args} (function) function(opts) which returns a table - of additional arguments to be passed - on - {max_results} (number) define a upper result value - {disable_coordinates} (boolean) don't show the line & row numbers - (default: false) + {cwd} (string) root dir to search from + (default: cwd, use + utils.buffer_dir() to search + relative to open buffer) + {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, mutually exclusive with + `grep_open_files` + {glob_pattern} (string|table) argument to be used with + `--glob`, e.g. "*.toml", can use + the opposite "!*.toml" + {type_filter} (string) argument to be used with + `--type`, e.g. "rust", see `rg + --type-list` + {additional_args} (function) function(opts) which returns a + table of additional arguments to + be passed on + {max_results} (number) define a upper result value + {disable_coordinates} (boolean) don't show the line & row + numbers (default: false) builtin.grep_string({opts}) *telescope.builtin.grep_string()* |
