diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-01 22:00:55 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-01 22:00:55 -0400 |
| commit | c11a6613625008c7d45702301cdf404873674c58 (patch) | |
| tree | fa39a75d0c0bfca81e8ec9acc21e43f7275e9231 /lua/telescope/pickers.lua | |
| parent | 4ac50c68ca43a0be7e8e238b7f781ad5074d8669 (diff) | |
feat: new fuzzy sorter
Diffstat (limited to 'lua/telescope/pickers.lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 2650ff0..4b450f2 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -276,6 +276,8 @@ function Picker:find() end local process_complete = vim.schedule_wrap(function() + -- TODO: We should either: always leave one result or make sure we actually clean up the results when nothing matches + if selection_strategy == 'row' then self:set_selection(self:get_selection_row()) elseif selection_strategy == 'follow' then |
