diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-02 19:20:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-02 19:20:22 +0800 |
commit | 02dd5b6557d3e70859bc3ddb234f8924b0166221 (patch) | |
tree | 85a2ff57dc31ba1586542e26bed014514754b089 /test/hover | |
parent | 63510ae7469aa1cf09da2c356a9feb2ce4be4cd7 (diff) | |
download | lua-language-server-02dd5b6557d3e70859bc3ddb234f8924b0166221.zip |
improve `---@see`
resolve #1344
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index dad32f14..780c1da8 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -2393,3 +2393,13 @@ local x = obj[''].<?x?>() [[ (field) A.x: fun():string ]] + +TEST [[ +---@class A +---@field x number + +---@see <?A.x?> +]] +[[ +(field) A.x: number +]] |