diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-23 17:50:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-23 17:50:17 +0800 |
commit | 146a7c38ecad0918f5e4d1a132701064d0118260 (patch) | |
tree | e72e4989716a5476719bd84d3f5c9991ba5a6c06 /test/crossfile | |
parent | f9157be94e64051e319d0f44e00995376fdb7598 (diff) | |
download | lua-language-server-146a7c38ecad0918f5e4d1a132701064d0118260.zip |
resolve #560
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/hover.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index 54d8d93c..aaf69e7a 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -850,3 +850,15 @@ hover = { name = 'bthci.rawhci', description = " Sends a raw HCI command to the BlueTooth controller." }} + +TEST {{ path = 'a.lua', content = '', }, { + path = 'b.lua', + content = [[ +---@type string | fun(): string +local <?t?> +]] +}, +hover = { + label = 'local t: string|fun():string', + name = 't', +}} |