mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
[WIP]: Tue 15 Sep 2020 10:22:06 PM EDT
This commit is contained in:
@@ -11,7 +11,7 @@ local request_id_to_picker = setmetatable({}, {
|
||||
local max_entry_id = 0
|
||||
local entry_id_to_entry = {}
|
||||
|
||||
local worker_func = function(path, bound_request_id, entry_id, prompt, entry)
|
||||
local function worker_func(path, bound_request_id, entry_id, prompt, entry)
|
||||
package.path = path
|
||||
|
||||
if not FuzzySorter then
|
||||
@@ -21,7 +21,7 @@ local worker_func = function(path, bound_request_id, entry_id, prompt, entry)
|
||||
return bound_request_id, entry_id, pcall(FuzzySorter.score, FuzzySorter, prompt, entry)
|
||||
end
|
||||
|
||||
local after_func = function(bound_request_id, entry_id, score_ok, sort_score)
|
||||
local function after_func(bound_request_id, entry_id, score_ok, sort_score)
|
||||
local picker = request_id_to_picker[bound_request_id]
|
||||
|
||||
if picker._requests_id ~= bound_request_id or bound_request_id ~= current_request_id then
|
||||
|
||||
Reference in New Issue
Block a user