diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-09-01 16:53:56 +0200 |
|---|---|---|
| committer | Simon Hauser <Simon-Hauser@outlook.de> | 2021-09-01 16:53:56 +0200 |
| commit | baf39e5339aef4f9fff1a10bbccdf929d006bfa5 (patch) | |
| tree | b42f0ae6e23d83031d1041134ad5acb2557dca7e /doc | |
| parent | b0c04c62b5cce850ce0d10cd6a06163b57042318 (diff) | |
doc: generate docgen
i forgot it. My bad
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index b7862b6..8fedd6c 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -359,14 +359,17 @@ This will use the default configuration options. Other configuration options are still in flux at the moment builtin.live_grep({opts}) *builtin.live_grep()* - Search for a string in your current working directory and get results live - as you type (respecting .gitignore) + Search for a string and get results live as you type (respecting + .gitignore) Parameters: ~ {opts} (table) options to pass to the picker Fields: ~ + {cwd} (string) directory path to search from (default + is 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` @@ -385,6 +388,9 @@ builtin.grep_string({opts}) *builtin.grep_string()* {opts} (table) options to pass to the picker Fields: ~ + {cwd} (string) directory path to search from (default + is cwd, use utils.buffer_dir() to search + relative to open buffer) {search} (string) the query to search {search_dirs} (table) directory/directories to search in {use_regex} (boolean) if true, special characters won't be @@ -395,13 +401,16 @@ builtin.grep_string({opts}) *builtin.grep_string()* builtin.find_files({opts}) *builtin.find_files()* - Lists files in your current working directory, respects .gitignore + Search for files (respecting .gitignore) Parameters: ~ {opts} (table) options to pass to the picker Fields: ~ + {cwd} (string) directory path to search from (default is + cwd, use utils.buffer_dir() to search + relative to open buffer) {find_command} (table) command line arguments for `find_files` to use for the search, overrides default config {follow} (boolean) if true, follows symlinks (i.e. uses `-L` @@ -437,7 +446,9 @@ builtin.file_browser({opts}) *builtin.file_browser()* {opts} (table) options to pass to the picker Fields: ~ - {cwd} (string) directory path to browse (default is cwd) + {cwd} (string) directory path to browse (default is cwd, use + utils.buffer_dir() to browse relative to open + buffer) {depth} (number) file tree depth to display (default is 1) {dir_icon} (string) change the icon for a directory. default: {hidden} (boolean) determines whether to show hidden files or not |
