From b6eff58cb1752a8060a72de56dcce7d1dff6ea6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 15 Jul 2022 15:26:03 +0800 Subject: fix --- test/crossfile/hover.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/crossfile') diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index fe6e7233..3c62b8f8 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -1343,3 +1343,20 @@ local n: unknown --- [here](file:///d%3A/x.lua)]] } + +TEST { + { + path = 'a.lua', + content = [[ + --[here](command:xxxxx) + local + ]] + }, + hover = [[ +```lua +local n: unknown +``` + +--- +[here](command:xxxxx)]] +} -- cgit v1.2.3