summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-03-30 12:32:18 +0200
committerGitHub <noreply@github.com>2021-03-30 12:32:18 +0200
commitaefc8317354426864a361d7b7d84848145d218c1 (patch)
tree97b6c1c8a7401179e1ddff8f207c5dcf07029d78 /doc
parent2e03f67de9eab023098bd05916bf26556520a467 (diff)
fix: no longer leaking one buffer previewer in some occasions (#664)
* fix: stop leaking last preview buffer * fix: formatting for docs * fix: async check if file is dir or not and - fix for in_fast_event when overriding file_maker * fix: filtering for space in keymaps and fzy * fix: show correct result numbers when using file_ignore_patterns * Handle early close. Caused because we actually cleaning up buffers now * cleanup * [docgen] Update doc/telescope.txt
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt32
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index cd3374a..02fe61a 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -23,44 +23,44 @@ telescope.setup({opts}) *telescope.setup()*
entry_prefix: ~
Prefix in front of each result entry. Current selection not included.
- Default: ' '
+ Default: ' '
*telescope.defaults.prompt_prefix*
prompt_prefix: ~
Will be shown in front of the prompt.
- Default: '> '
+ Default: '> '
*telescope.defaults.scroll_strategy*
scroll_strategy: ~
Determines what happens you try to scroll past view of the picker.
- Available options are:
- - "cycle" (default)
- - "limit"
+ Available options are:
+ - "cycle" (default)
+ - "limit"
*telescope.defaults.selection_caret*
selection_caret: ~
Will be shown in front of the selection.
- Default: '> '
+ Default: '> '
*telescope.defaults.selection_strategy*
selection_strategy: ~
Determines how the cursor acts after each sort iteration.
- Available options are:
- - "reset" (default)
- - "follow"
- - "row"
+ Available options are:
+ - "reset" (default)
+ - "follow"
+ - "row"
*telescope.defaults.sorting_strategy*
sorting_strategy: ~
Determines the direction "better" results are sorted towards.
- Available options are:
- - "descending" (default)
- - "ascending"
+ Available options are:
+ - "descending" (default)
+ - "ascending"
Parameters: ~
{opts} (table) Configuration opts. Keys: defaults, extensions
@@ -269,8 +269,10 @@ previewers.new_termopen_previewer() *previewers.new_termopen_previewer()*
It requires you to specify one table entry `get_command(entry, status)`.
This `get_command` function has to return the terminal command that will be
- executed for each entry. Example: get_command = function(entry, status)
- return { 'bat', entry.path } end
+ executed for each entry. Example:
+ get_command = function(entry, status)
+ return { 'bat', entry.path }
+ end
It's an easy way to get your first previewer going and it integrates well
with `bat` and `less`. Providing out of the box scrolling if the command