diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-11 16:57:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-11 16:57:21 +0800 |
commit | e1912470260bac17e7efc565cb59719beb810d01 (patch) | |
tree | 712057774af3b500a021704a1b328923af0b76a0 /test/crossfile | |
parent | e82c09fd0b06e8d4ca872759fb6bb4d50506dd6a (diff) | |
download | lua-language-server-e1912470260bac17e7efc565cb59719beb810d01.zip |
fix #1608
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/hover.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index e6517aa9..c3d7078c 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -1582,3 +1582,27 @@ TEST { } ```]] } + +TEST { + { + path = 'a.lua', + content = [[ + ---@alias someType + ---| "#" # description + + ---@type someType + local <?someValue?> + ]] + }, + hover = [[ +```lua +local someValue: "#" +``` + +--- + +```lua +someType: + | "#" -- description +```]] +} |