summaryrefslogtreecommitdiff
path: root/script/vm/field.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-15 19:10:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-15 19:10:46 +0800
commitb4524f05ee0a21176cb9a0e22941b04a3eca3773 (patch)
treeb93dcbe480f103866a9ecbeddb614ac8590daacf /script/vm/field.lua
parent54e6260b2ac36c4653a30ed5ab5e17d3e7f0abd9 (diff)
downloadlua-language-server-b4524f05ee0a21176cb9a0e22941b04a3eca3773.zip
improve performance
Diffstat (limited to 'script/vm/field.lua')
-rw-r--r--script/vm/field.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/field.lua b/script/vm/field.lua
index 0968df11..ba7cd4c1 100644
--- a/script/vm/field.lua
+++ b/script/vm/field.lua
@@ -17,7 +17,7 @@ local searchByNodeSwitch = util.switch()
local function searchByNode(source, pushResult)
local uri = guide.getUri(source)
- vm.compileByParentNode(source, nil, function (field)
+ vm.compileByParentNode(source, nil, true, function (field)
searchByNodeSwitch(field.type, uri, field, pushResult)
end)
end