summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-23 20:59:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-23 20:59:58 +0800
commit953944c5772762205b364bbcf29b913b024d8d27 (patch)
tree53492b3be5da47c6addb3bb14b96c6ff59d4435e
parent95513e01806bffd21f5a6f3c753501496eb2533b (diff)
downloadlua-language-server-953944c5772762205b364bbcf29b913b024d8d27.zip
fix
-rw-r--r--script/core/searcher.lua1
-rw-r--r--script/pub/pub.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 83682743..7d728cb3 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -336,6 +336,7 @@ function m.searchRefsByID(status, uri, expect, mode)
return false
end
+ ---@return parser.guide.object?
local function findLastCall()
for i = #callStack, 1, -1 do
local call = callStack[i]
diff --git a/script/pub/pub.lua b/script/pub/pub.lua
index 8c49a2d9..ba57e5cb 100644
--- a/script/pub/pub.lua
+++ b/script/pub/pub.lua
@@ -103,6 +103,7 @@ end
--- 发布任务
---@parma name string
---@param params any
+---@return any
function m.awaitTask(name, params)
local info = {
id = counter(),