From be7784375a1da83ded98af98ae87d36b2b7f4aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 16 Nov 2021 21:15:57 +0800 Subject: update --- script/core/searcher.lua | 4 ++-- test/full/projects.lua | 5 ++++- 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() -- cgit v1.2.3