summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-03 15:21:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-03 15:21:54 +0800
commitcb3996375367d44464b4b8350461ed5e350f51ee (patch)
tree480386ec55e216cfeae5650bbaf3cb4f68c66c25 /test
parentd481a5a6a103a057830d62a5d4afa04f0cab3a1e (diff)
downloadlua-language-server-cb3996375367d44464b4b8350461ed5e350f51ee.zip
supports doc.see
Diffstat (limited to 'test')
-rw-r--r--test/definition/luadoc.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index c875a628..3fc60955 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -138,8 +138,16 @@ local y
y.<?a?>
]]
--- TODO
-do return end
+TEST [[
+---@class <!loli!>
+local <!unit!>
+
+function unit:pants()
+end
+
+---@see <?loli?>
+]]
+
TEST [[
---@class loli
local unit