diff options
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/hover.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index 69aa9239..e391014d 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -1220,3 +1220,20 @@ ret1: | 'r4' ```]] } + +TEST { + { + path = 'a.lua', + content = [[ + ---@type integer @ comments + local <?n?> + ]] + }, + hover = [[ +```lua +local n: integer +``` + +--- + comments]] +} |