summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-11 23:03:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-11 23:03:09 +0800
commit9adba2607bfd7b10879492ceb7b8926723bf40d3 (patch)
treefbc25cfd291bff8c2d04cad4b9de0a73418cb9b9 /meta/template/debug.lua
parent216fe5bf4677010af04238d8e0722e19b4acb3be (diff)
downloadlua-language-server-9adba2607bfd7b10879492ceb7b8926723bf40d3.zip
暂存
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
new file mode 100644
index 00000000..a8c7f2df
--- /dev/null
+++ b/meta/template/debug.lua
@@ -0,0 +1,14 @@
+---@class debug
+debug = {}
+
+function debug.debug() end
+
+---@param o any
+---@return table
+function debug.getfenv(o) end
+
+---@param co thread?
+---@return function hook
+---@return string mask
+---@return integer count
+function debug.gethook(co) end