summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-15 20:04:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-15 20:04:00 +0800
commitfcc64b070a4c3cf0af7470ae8587080d336fed73 (patch)
treebca5e569394b67f9ca803cdc09a5995d381e78fd /script/core/searcher.lua
parent3d0aca53a30fa55637234685e7825600f42e48c0 (diff)
downloadlua-language-server-fcc64b070a4c3cf0af7470ae8587080d336fed73.zip
improve
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r--script/core/searcher.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 52b0b5ea..2b4b4caa 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -6,6 +6,7 @@ local ws = require 'workspace'
local vm = require 'vm.vm'
local globals = require 'vm.globals'
local docs = require 'vm.docs'
+local await = require 'await'
local NONE = {'NONE'}
local LAST = {'LAST'}
@@ -185,7 +186,7 @@ local function crossSearch(status, uri, expect, mode)
return
end
status.lock[uri] = true
- --await.delay()
+ await.delay()
if TRACE then
log.debug('crossSearch', uri, expect)
end