summaryrefslogtreecommitdiff
path: root/script-beta/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-17 20:39:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-17 20:39:55 +0800
commitb5a3913ea35eaad38b98d269e83d3e04c7273b05 (patch)
tree395f7a1964450672309f3ce28412efc34422a2df /script-beta/parser
parenta09f301b5bb3d2a2bbceec9881c4091a7665bf56 (diff)
downloadlua-language-server-b5a3913ea35eaad38b98d269e83d3e04c7273b05.zip
总是把value也算上
Diffstat (limited to 'script-beta/parser')
-rw-r--r--script-beta/parser/guide.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 95498f61..b94d8f4a 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1696,6 +1696,9 @@ function m.checkSameSimple(status, simple, data, mode, results, queue)
end
end
m.pushResult(status, mode, ref, simple)
+ if ref.value then
+ m.pushResult(status, mode, ref.value, simple)
+ end
end
function m.searchSameFields(status, simple, mode)