diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 12:01:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 12:01:34 +0800 |
commit | f5d631b87b38a54b8cb40dec602a7f1910fe7e4f (patch) | |
tree | db2c1715e43ec4cf7c466578c44c3c6fdb9b2a67 /meta/template/debug.lua | |
parent | de82efa9bf794ea195c4d1b3da229500c8a213e1 (diff) | |
download | lua-language-server-f5d631b87b38a54b8cb40dec602a7f1910fe7e4f.zip |
respect quotation marks
Diffstat (limited to 'meta/template/debug.lua')
-rw-r--r-- | meta/template/debug.lua | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/template/debug.lua b/meta/template/debug.lua index e7ac5911..9f48ee98 100644 --- a/meta/template/debug.lua +++ b/meta/template/debug.lua @@ -45,20 +45,20 @@ function debug.getfenv(o) end function debug.gethook(co) end ---@alias infowhat string ----|+'"n"' # ---#DESTAIL 'infowhat.n' ----|+'"S"' # ---#DESTAIL 'infowhat.S' ----|+'"l"' # ---#DESTAIL 'infowhat.l' ----|+'"t"' # ---#DESTAIL 'infowhat.t' +---|+"n" # ---#DESTAIL 'infowhat.n' +---|+"S" # ---#DESTAIL 'infowhat.S' +---|+"l" # ---#DESTAIL 'infowhat.l' +---|+"t" # ---#DESTAIL 'infowhat.t' ---#if VERSION <= 5.1 and not JIT then ----|+'"u"' # ---#DESTAIL 'infowhat.u<5.1' +---|+"u" # ---#DESTAIL 'infowhat.u<5.1' ---#else ----|+'"u"' # ---#DESTAIL 'infowhat.u>5.2' +---|+"u" # ---#DESTAIL 'infowhat.u>5.2' ---#end ----|+'"f"' # ---#DESTAIL 'infowhat.f' +---|+"f" # ---#DESTAIL 'infowhat.f' ---#if VERSION >= 5.4 then ----|+'"r"' # ---#DESTAIL 'infowhat.r' +---|+"r" # ---#DESTAIL 'infowhat.r' ---#end ----|+'"L"' # ---#DESTAIL 'infowhat.L' +---|+"L" # ---#DESTAIL 'infowhat.L' ---#DES 'debug.getinfo' ---@overload fun(f: integer|function, what?: infowhat):debuginfo @@ -141,9 +141,9 @@ function debug.setcstacklimit(limit) end function debug.setfenv(object, env) end ---@alias hookmask string ----|+'"c"' # ---#DESTAIL 'hookmask.c' ----|+'"r"' # ---#DESTAIL 'hookmask.r' ----|+'"l"' # ---#DESTAIL 'hookmask.l' +---|+"c" # ---#DESTAIL 'hookmask.c' +---|+"r" # ---#DESTAIL 'hookmask.r' +---|+"l" # ---#DESTAIL 'hookmask.l' ---#DES 'debug.sethook' ---@overload fun(hook: (async fun(...):...), mask: hookmask, count?: integer) |