Update nightwatch75/file-search to 0.0.10 (#39)
Co-authored-by: nightwatch75 <nightwatch75@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
nightwatch75
Claude Fable 5
parent
0c87f534ba
commit
203aaef232
@@ -155,7 +155,15 @@ local function buildIndex(query)
|
|||||||
local queued = pendingQuery
|
local queued = pendingQuery
|
||||||
pendingQuery = nil
|
pendingQuery = nil
|
||||||
if result.exitCode == 0 and not result.timedOut then
|
if result.exitCode == 0 and not result.timedOut then
|
||||||
runQuery(queued or query)
|
if indexKey() ~= key then
|
||||||
|
-- Settings changed while the walk was running: the cache
|
||||||
|
-- holds paths relative to the old root, and activation
|
||||||
|
-- would join them to the new one. Rebuild instead of
|
||||||
|
-- searching stale records (mirrors the panel).
|
||||||
|
buildIndex(queued or query)
|
||||||
|
else
|
||||||
|
runQuery(queued or query)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
launcher.setResults(queued or query, { noopRow("err_index") })
|
launcher.setResults(queued or query, { noopRow("err_index") })
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
id = "nightwatch75/file-search"
|
id = "nightwatch75/file-search"
|
||||||
name = "File Search"
|
name = "File Search"
|
||||||
version = "0.0.9"
|
version = "0.0.10"
|
||||||
plugin_api = 3
|
plugin_api = 3
|
||||||
author = "nightwatch75"
|
author = "nightwatch75"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user