feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987)
* start: Working w/ async jobs * short circuit to using bad finder if you pass writer.
This commit is contained in:
@@ -219,13 +219,20 @@ local telescope_defaults = {
|
||||
borderchars = { { "─", "│", "─", "│", "╭", "╮", "╯", "╰" } },
|
||||
|
||||
get_status_text = {
|
||||
function(self)
|
||||
function(self, opts)
|
||||
local xx = (self.stats.processed or 0) - (self.stats.filtered or 0)
|
||||
local yy = self.stats.processed or 0
|
||||
if xx == 0 and yy == 0 then
|
||||
return ""
|
||||
end
|
||||
|
||||
-- local status_icon
|
||||
-- if opts.completed then
|
||||
-- status_icon = "✔️"
|
||||
-- else
|
||||
-- status_icon = "*"
|
||||
-- end
|
||||
|
||||
return string.format("%s / %s", xx, yy)
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user