summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-17 15:12:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-17 15:12:49 +0800
commit5e12f19a1e813db2985579e9c6dcf040b1129853 (patch)
tree704d298c5670ab2aa76a74f6b7cc28b96584119a /script
parent5aa47d161d1c00ac019f7cf0e721f785f53f0a9b (diff)
downloadlua-language-server-5e12f19a1e813db2985579e9c6dcf040b1129853.zip
improve
Diffstat (limited to 'script')
-rw-r--r--script/core/noder.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 1c28a40b..87da4e08 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -866,7 +866,9 @@ compileNodeMap = util.switch()
: call(function (noders, id, source)
if source.bindSources then
for _, src in ipairs(source.bindSources) do
- pushForward(noders, getID(src), id)
+ pushForward(noders, getID(src), id, {
+ reject = 'class',
+ })
pushForward(noders, id, getID(src))
end
end