summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-16 21:04:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-16 21:04:34 +0800
commitbe5b3c282faa214bf75f0d719d7a0d809bc09aa1 (patch)
tree01ef7bd7f499bd78d96e740ad74886e42d10f9bf /script/proto
parent23eac92eb9e6cb133336f67e104c00b9f200cb5b (diff)
downloadlua-language-server-be5b3c282faa214bf75f0d719d7a0d809bc09aa1.zip
improve
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index a49a0ac1..b5e40c60 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -284,4 +284,19 @@ m.BuiltIn = {
['utf8'] = 'default',
}
+m.BuiltinClass = {
+ ['unknown'] = true,
+ ['any'] = true,
+ ['nil'] = true,
+ ['boolean'] = true,
+ ['number'] = true,
+ ['integer'] = true,
+ ['thread'] = true,
+ ['table'] = true,
+ ['string'] = true,
+ ['userdata'] = true,
+ ['lightuserdata'] = true,
+ ['Function'] = true,
+}
+
return m