diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-03 19:58:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-03 19:58:03 +0800 |
commit | f35ed0a44400f422822aeb882784592db5a48633 (patch) | |
tree | b61560b2d9774989175d3707edd64f17143ecb66 /test-beta | |
parent | 03b763eb9aab5eebf1ac11481794e95a2e2af9ef (diff) | |
download | lua-language-server-f35ed0a44400f422822aeb882784592db5a48633.zip |
支持 ---| 换行
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/hover/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 2d550fea..ef48535d 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -1293,3 +1293,13 @@ local <?t?> [[ local t: string|'enum1'|'enum2' ]] + +TEST [[ +---@type string +---| "'enum1'" +---| "'enum2'" +local <?t?> +]] +[[ +local t: string|'enum1'|'enum2' +]] |