summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-27 10:36:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-27 10:36:49 +0800
commitd559737fc37d2ab99a030dbe33d3190315391859 (patch)
treefb24a3d2ee2bffced84aa15b33a03728f7bdf8e7 /script
parent4ccd1339d703ba87a70fdfe38a79a2b51bf31f0c (diff)
downloadlua-language-server-d559737fc37d2ab99a030dbe33d3190315391859.zip
performance issue
Diffstat (limited to 'script')
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index c580aeec..181095c8 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -2141,7 +2141,7 @@ function m.searchSameFieldsInValue(status, ref, start, pushQueue, mode)
if not value then
return
end
- if mode == 'ref' then
+ if mode == 'ref' or mode == 'def' or mode == 'field' then
if m.checkValueMark(status, ref, value) then
return
end