summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-13 19:14:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-13 19:14:31 +0800
commit43ef5d13ab20b77da3e4f7626116f0580aa1377e (patch)
treebd8f1669f7c1b45f1e6f80bf7dbd30c869637a41
parent8168da31f270fd82c2e541cfd3fc304ffccc1c9c (diff)
downloadlua-language-server-43ef5d13ab20b77da3e4f7626116f0580aa1377e.zip
fix diag of `newproxy`
-rw-r--r--script/vm/library.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/library.lua b/script/vm/library.lua
index 1a8d8ffd..49f7adb0 100644
--- a/script/vm/library.lua
+++ b/script/vm/library.lua
@@ -22,7 +22,7 @@ local globalLibraryNames = {
'setmetatable', 'tonumber', 'tostring', 'type', '_VERSION',
'warn', 'xpcall', 'require', 'unpack', 'bit32', 'coroutine',
'debug', 'io', 'math', 'os', 'package', 'string', 'table',
- 'utf8',
+ 'utf8', 'newproxy',
}
local globalLibraryNamesMap
function vm.isGlobalLibraryName(name)