summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-08 14:19:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-08 14:19:15 +0800
commit0690696de36519b88bbb6638fccef14cd22a9474 (patch)
treeec213ee47fb8629fade30c52c2d070ae17e31317
parent6262f39483f9a02377cc6caf12a0869df0ffbfe8 (diff)
downloadlua-language-server-0690696de36519b88bbb6638fccef14cd22a9474.zip
修正bug
-rw-r--r--server-beta/src/core/engineer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/engineer.lua b/server-beta/src/core/engineer.lua
index 12aab98d..9f05b40c 100644
--- a/server-beta/src/core/engineer.lua
+++ b/server-beta/src/core/engineer.lua
@@ -130,7 +130,7 @@ mt['getglobal'] = function (self, source, mode, callback)
end
mt['setglobal'] = mt['getglobal']
mt['field'] = function (self, source, mode, callback)
- local node = source.node
+ local node = source.node.node
local key = guide.getKeyName(source)
self:eachRef(node, 'field', function (src)
if key == guide.getKeyName(src) then