summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/hover.lua17
1 files changed, 17 insertions, 0 deletions
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 <?n?>
+ ]]
+ },
+ hover = [[
+```lua
+local n: unknown
+```
+
+---
+[here](command:xxxxx)]]
+}