diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-27 15:34:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-27 15:34:00 +0800 |
commit | 11b3e32e8340d6d7974fa81918760b9ea065f1e0 (patch) | |
tree | b3344cd1391658bdb80b4cc0491b7c9e16878fd9 /script/core | |
parent | cbde92feafae9807e20acf8bb10e438e27e24c39 (diff) | |
download | lua-language-server-11b3e32e8340d6d7974fa81918760b9ea065f1e0.zip |
change format
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/hover/description.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua index 936d3ba3..73300f1d 100644 --- a/script/core/hover/description.lua +++ b/script/core/hover/description.lua @@ -138,7 +138,7 @@ local function getBindEnums(docGroup) elseif doc.type == 'doc.return' then for _, rtn in ipairs(doc.returns) do returnIndex = returnIndex + 1 - local name = rtn.name and rtn.name[1] or ('(return %d)'):format(returnIndex) + local name = rtn.name and rtn.name[1] or ('return #%d'):format(returnIndex) if mark[name] then goto CONTINUE end |