summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-07 17:10:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-07 17:10:37 +0800
commit56e30b07fffee79e6c0612f0f099eb590c7be558 (patch)
treef636a9d2aa34780eb3967999dce1ad54fcdf386b /test/crossfile
parenta8c95b64d7e8a8481cbe961b8b872ef0710d618f (diff)
downloadlua-language-server-56e30b07fffee79e6c0612f0f099eb590c7be558.zip
resolve #476 supports multiline comments
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/hover.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index 521f5a49..dacf1ab2 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -731,3 +731,18 @@ hover = {
label = 'field Food.firstField: integer = 0',
name = 'food.firstField',
}}
+
+TEST {{ path = 'a.lua', content = '', }, {
+ path = 'b.lua',
+ content = [[
+--[=[
+I'm a multiline comment
+]=]
+local <?food?>
+]]
+},
+hover = {
+ label = 'local food: any',
+ name = 'food',
+ description = "I'm a multiline comment\n"
+}}