summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-26 01:28:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-26 01:28:30 +0800
commite644ee28154f2278c33a73f3fe27f626dd1198b1 (patch)
treeb03c4652ad353952e83f3dbd3c335b97c2bb3f22 /meta/template/debug.lua
parentde82e9e69e6fde2377c0920b1edad323c8dd81bc (diff)
downloadlua-language-server-e644ee28154f2278c33a73f3fe27f626dd1198b1.zip
fix doc of `os.execute` and `debug.sethook`
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 7db63e49..f62aca6e 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -146,7 +146,9 @@ function debug.setfenv(object, env) end
---|+'"l"' # ---#DESTAIL 'hookmask.l'
---#DES 'debug.sethook'
----@overload fun(hook: function, mask: hookmask, count?: integer)
+---@overload fun(hook: async fun(), mask: hookmask, count?: integer)
+---@overload fun(thread: thread)
+---@overload fun()
---@param thread thread
---@param hook async fun()
---@param mask hookmask