summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-18 11:14:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-18 11:14:47 +0800
commit5163ff8323411bc6a90504c66871cea60eeeb994 (patch)
tree747ff0c5523c4c85b99803ba190d1fbaef688166 /test/diagnostics/init.lua
parentaca8eb8bcfacdc534f02e21b8b391d936b371114 (diff)
downloadlua-language-server-5163ff8323411bc6a90504c66871cea60eeeb994.zip
`unused-local` excludes `doc.param`
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 8a8343cc..148bcec1 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -999,3 +999,9 @@ for i = 1, 1 do
print(i)
end
]]
+
+TEST [[
+---@param a number
+return function (a)
+end
+]]