summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-12 15:09:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-12 15:09:53 +0800
commit93bf979617ff781f8a2d28d0574a3d4b9e2c5253 (patch)
treebc48487486ca438134e489377ab6aa329c288833 /meta/template/debug.lua
parentb9d4d1d00e72cb0204eeec8feaac4fff13e6b353 (diff)
downloadlua-language-server-93bf979617ff781f8a2d28d0574a3d4b9e2c5253.zip
修正doc推测的bug
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index a8c7f2df..8db01634 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -12,3 +12,10 @@ function debug.getfenv(o) end
---@return string mask
---@return integer count
function debug.gethook(co) end
+
+---@alias infowhat '"nSltufL"'
+---@alias finfo
+---| '""'
+
+---@overload fun(f: integer|function, what: infowhat?):finfo
+function debug.getinfo1(thread, f, what) end