summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2022-09-08 14:02:28 +0800
committerfesily <fesil@foxmail.com>2022-09-08 14:02:28 +0800
commit6e6eade45c2242a4718d54d6d263af71b963c728 (patch)
tree7213879d8e7d9d00e2d1089f0a1fa17e9c68b40f /meta
parent22fde127dbc02ce329fdd2141af19b1729c368de (diff)
downloadlua-language-server-6e6eade45c2242a4718d54d6d263af71b963c728.zip
meta template:luajit add cdata type
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index ee277b75..4d718f79 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -237,6 +237,9 @@ function tostring(v) end
---| '"function"'
---| '"thread"'
---| '"userdata"'
+---#if VERSION == JIT then
+---| '"cdata"'
+---#end
---#DES 'type'
---@param v any