diff options
Diffstat (limited to 'test/crossfile/hover.lua')
-rw-r--r-- | test/crossfile/hover.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index 13e5e5c0..b1c4c804 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -999,3 +999,22 @@ local x: number --- aaa]]} + +TEST {{ path = 'a.lua', content = '', }, { + path = 'b.lua', + content = [[ +---line1 +--- +---line2 +local function <?fn?>() end +]] +}, +hover = [[ +```lua +function fn() +``` + +--- +line1 + +line2]]} |