Skip to content

Commit 306a586

Browse files
authored
Merge pull request #2537 from AndreasMatthias/varargs
Desc/rawdesc for vararg expressions in JSON output.
2 parents 5427b3b + a3c731f commit 306a586

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/core/hover/description.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ local function tyrDocParamComment(source)
449449
or source.type == 'getlocal' then
450450
source = source.node
451451
end
452-
if source.type ~= 'local' then
452+
if source.type ~= 'local'
453+
and source.type ~= '...' then
453454
return
454455
end
455456
if source.parent.type ~= 'funcargs' then

0 commit comments

Comments
 (0)