From a3c731f91e05a9efe658c3da6e7c905829d65b52 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 24 Feb 2024 20:05:54 +0100 Subject: [PATCH] Desc/rawdesc for vararg expressions in JSON output. --- script/core/hover/description.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua index 75189b06c..0cbcc835c 100644 --- a/script/core/hover/description.lua +++ b/script/core/hover/description.lua @@ -449,7 +449,8 @@ local function tyrDocParamComment(source) or source.type == 'getlocal' then source = source.node end - if source.type ~= 'local' then + if source.type ~= 'local' + and source.type ~= '...' then return end if source.parent.type ~= 'funcargs' then