feat: selection_strategy closest (#885)
* Added closest selection_strategy to use default_selection_index initially but prefer highest ranked match when prompt not empty * Updated supporting documentation to include selection_strategy
This commit is contained in:
@@ -164,6 +164,7 @@ telescope.setup({opts}) *telescope.setup()*
|
||||
- "reset" (default)
|
||||
- "follow"
|
||||
- "row"
|
||||
- "closest"
|
||||
|
||||
*telescope.defaults.sorting_strategy*
|
||||
sorting_strategy: ~
|
||||
|
||||
Reference in New Issue
Block a user