summaryrefslogtreecommitdiff
path: root/script-beta/vm/vm.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-03 18:54:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-03 18:54:33 +0800
commitbd9aacf509cf65584d56f6673f63b48974fbe018 (patch)
treed47c72a69a4f6de691924f082a8ca7b923a8d3d8 /script-beta/vm/vm.lua
parent0ee236351febdd81e4bc95ed74bc667e21d3763d (diff)
downloadlua-language-server-bd9aacf509cf65584d56f6673f63b48974fbe018.zip
修改library的结构,方便解析
Diffstat (limited to 'script-beta/vm/vm.lua')
-rw-r--r--script-beta/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/vm.lua b/script-beta/vm/vm.lua
index 907532d8..53a0596d 100644
--- a/script-beta/vm/vm.lua
+++ b/script-beta/vm/vm.lua
@@ -100,7 +100,7 @@ function m.getKeyName(source)
if not source then
return nil
end
- if source.library then
+ if source.type == 'library' then
return 's|' .. source.name
end
if source.type == 'call' then