Skip to content

Commit 9498df4

Browse files
committed
获取工作区符号改为同步
1 parent 39b0789 commit 9498df4

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

script/core/workspace-symbol.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ local function searchFile(uri, key, results)
5555
end)
5656
end
5757

58-
---@async
5958
---@param key string
6059
---@param suri? uri
6160
---@param results table[]
@@ -88,12 +87,10 @@ local function searchGlobalAndClass(key, suri, results)
8887
source = set,
8988
}
9089
end
91-
await.delay()
9290
end
9391
end
9492
end
9593

96-
---@async
9794
---@param key string
9895
---@param suri? uri
9996
---@param results table[]
@@ -137,7 +134,6 @@ local function searchClassField(key, suri, results)
137134
end)
138135
end
139136

140-
---@async
141137
---@param key string
142138
---@param suri? uri
143139
---@param results table[]
@@ -147,11 +143,9 @@ local function searchWords(key, suri, results)
147143
if #results > 1000 then
148144
break
149145
end
150-
await.delay()
151146
end
152147
end
153148

154-
---@async
155149
---@param key string
156150
---@param suri? uri
157151
---@param includeWords? boolean

script/provider/markdown.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ mt.__name = 'markdown'
88

99
mt._splitLine = false
1010

11-
---@async
1211
---Converts `[mySymbol](lua://mySymbol)` into a link that points to the origin of `mySymbol`.
1312
---@param txt string
1413
local function processSymbolReferences(txt)

0 commit comments

Comments
 (0)