diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 01:57:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 01:57:17 +0800 |
commit | fca4366ac185313fa87ede3b7642983985b74762 (patch) | |
tree | b9ea37ac696a2abeb9a94c84d37449b44ef9bf8c /script/parser/luadoc.lua | |
parent | 2b499cb652e9ad6b60c85a491aebeb84f2f8941a (diff) | |
download | lua-language-server-fca4366ac185313fa87ede3b7642983985b74762.zip |
#1207 supports `---@return string ...`
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 9fc8a6dc..420e78cd 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -894,6 +894,7 @@ local docSwitch = util.switch() docType.optional = true end docType.name = parseName('doc.return.name', docType) + or parseDots('doc.return.name', docType) result.returns[#result.returns+1] = docType if not checkToken('symbol', ',', 1) then break |