summaryrefslogtreecommitdiff
path: root/script/vm/def.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-01 14:52:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-01 14:52:45 +0800
commitf050b38fd69bd1c90b99b536f89f8036c9f4fc3a (patch)
treef0564c91d20fbb9e26aad2b315df9aad4ff747e7 /script/vm/def.lua
parentae95f749532c2252c671d1b3cab73d7e18cf777c (diff)
downloadlua-language-server-f050b38fd69bd1c90b99b536f89f8036c9f4fc3a.zip
update search reference
Diffstat (limited to 'script/vm/def.lua')
-rw-r--r--script/vm/def.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/def.lua b/script/vm/def.lua
index 7ce8ad7a..b1bedc43 100644
--- a/script/vm/def.lua
+++ b/script/vm/def.lua
@@ -19,6 +19,10 @@ simpleSwitch = util.switch()
pushResult(loc)
end
end)
+ : case 'doc.field'
+ : call(function (source, pushResult)
+ pushResult(source)
+ end)
---@param source parser.object
---@param pushResult fun(src: parser.object)