summaryrefslogtreecommitdiff
path: root/meta/template/debug.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-27 15:33:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-27 15:33:28 +0800
commitcbde92feafae9807e20acf8bb10e438e27e24c39 (patch)
tree056db12cab3c4020bb72d9cb30e6416669d62788 /meta/template/debug.lua
parent9c4760872cc0184c3d5b9f5d8df2fbb9f6467040 (diff)
downloadlua-language-server-cbde92feafae9807e20acf8bb10e438e27e24c39.zip
rename
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r--meta/template/debug.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua
index 66694d08..5742c3f0 100644
--- a/meta/template/debug.lua
+++ b/meta/template/debug.lua
@@ -43,20 +43,20 @@ function debug.getfenv(o) end
function debug.gethook(co) end
---@alias infowhat string
----|+'"n"' # ---#DESENUM 'infowhat.n'
----|+'"S"' # ---#DESENUM 'infowhat.S'
----|+'"l"' # ---#DESENUM 'infowhat.l'
----|+'"t"' # ---#DESENUM 'infowhat.t'
+---|+'"n"' # ---#DESTAIL 'infowhat.n'
+---|+'"S"' # ---#DESTAIL 'infowhat.S'
+---|+'"l"' # ---#DESTAIL 'infowhat.l'
+---|+'"t"' # ---#DESTAIL 'infowhat.t'
---#if VERSION <= 5.1 then
----|+'"u<5.1"' # ---#DESENUM 'infowhat.u<5.1'
+---|+'"u<5.1"' # ---#DESTAIL 'infowhat.u<5.1'
---#else
----|+'"u>5.2"' # ---#DESENUM 'infowhat.u>5.2'
+---|+'"u>5.2"' # ---#DESTAIL 'infowhat.u>5.2'
---#end
----|+'"f"' # ---#DESENUM 'infowhat.f'
+---|+'"f"' # ---#DESTAIL 'infowhat.f'
---#if VERSION >= 5.4 then
----|+'"r"' # ---#DESENUM 'infowhat.r'
+---|+'"r"' # ---#DESTAIL 'infowhat.r'
---#end
----|+'"L"' # ---#DESENUM 'infowhat.L'
+---|+'"L"' # ---#DESTAIL 'infowhat.L'
---#DES 'debug.getinfo'
---@overload fun(f: integer|function, what?: infowhat):debuginfo
@@ -129,9 +129,9 @@ function debug.setcstacklimit(limit) end
function debug.setfenv(object, env) end
---@alias hookmask string
----|+'"c"' # ---#DESENUM 'hookmask.c'
----|+'"r"' # ---#DESENUM 'hookmask.r'
----|+'"l"' # ---#DESENUM 'hookmask.l'
+---|+'"c"' # ---#DESTAIL 'hookmask.c'
+---|+'"r"' # ---#DESTAIL 'hookmask.r'
+---|+'"l"' # ---#DESTAIL 'hookmask.l'
---#DES 'debug.sethook'
---@overload fun(hook: function, mask: hookmask, count?: integer)