diff options
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 +```]] +} |