diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-07 17:48:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-07 17:48:31 +0800 |
commit | 8123dd362c1991ac87a26822729f24a53ef6b35e (patch) | |
tree | 610a0177ad0b1387e9ecc680c586c957930b76dd /test | |
parent | 56e30b07fffee79e6c0612f0f099eb590c7be558 (diff) | |
download | lua-language-server-8123dd362c1991ac87a26822729f24a53ef6b35e.zip |
resolve #455 tail comments support lua string
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/hover.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index dacf1ab2..bf56b39a 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -746,3 +746,18 @@ hover = { name = 'food', description = "I'm a multiline comment\n" }} + +TEST {{ path = 'a.lua', content = '', }, { + path = 'b.lua', + content = [[ +---@return string # 'this is a tab `\t`' +local function <?f?>() end +]] +}, +hover = { + label = [[ +function f() + -> string]], + name = 'food', + description = "@*return* — this is a tab `\t`" +}} |