summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/searcher.lua4
-rw-r--r--test/full/projects.lua5
2 files changed, 6 insertions, 3 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 4ce89fd1..6d1a03b6 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -939,9 +939,9 @@ function m.searchRefsByID(status, suri, expect, mode)
end
local stepCount = 0
- local stepMaxCount = 1e3
+ local stepMaxCount = 1e4
if mode == 'allref' or mode == 'alldef' then
- stepMaxCount = 1e4
+ stepMaxCount = 1e5
end
function searchStep(uri, id, field)
diff --git a/test/full/projects.lua b/test/full/projects.lua
index 316b554d..b5523fed 100644
--- a/test/full/projects.lua
+++ b/test/full/projects.lua
@@ -7,7 +7,10 @@ local ws = require 'workspace'
local fs = require 'bee.filesystem'
config.set('Lua.workspace.preloadFileSize', 1000000)
-config.set('Lua.diagnostics.neededFileStatus', {})
+config.set('Lua.diagnostics.neededFileStatus', {
+ ['await-in-sync'] = 'Any',
+ ['not-yieldable'] = 'Any',
+})
local function doProjects(pathname)
files.removeAll()