summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-09-01 22:00:55 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-09-01 22:00:55 -0400
commitc11a6613625008c7d45702301cdf404873674c58 (patch)
treefa39a75d0c0bfca81e8ec9acc21e43f7275e9231 /lua/telescope/pickers.lua
parent4ac50c68ca43a0be7e8e238b7f781ad5074d8669 (diff)
feat: new fuzzy sorter
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua2
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