diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-27 21:46:33 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-27 21:46:33 +0800 |
commit | 9496ea32f58e8d3ca7455f36ea3f2bfaa270f07d (patch) | |
tree | 03832bbf3c87771f657b9cc8990c8a74e95ffcc0 /server/test/crossfile/hover.lua | |
parent | 07c2cec7341676e587fe73f7ecbd361c9eb9a5b9 (diff) | |
download | lua-language-server-9496ea32f58e8d3ca7455f36ea3f2bfaa270f07d.zip |
支持 enum.default
Diffstat (limited to 'server/test/crossfile/hover.lua')
-rw-r--r-- | server/test/crossfile/hover.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/crossfile/hover.lua b/server/test/crossfile/hover.lua index c6eda13b..543a7ccf 100644 --- a/server/test/crossfile/hover.lua +++ b/server/test/crossfile/hover.lua @@ -270,7 +270,7 @@ TEST { content = [[ ---@param x string ---| "'选项1'" {comment = '注释1'} - ---| "'选项2'" {comment = '注释2'} + ---| "'选项2'" {comment = '注释2', default = true} function <?f?>(x) end ]] }, @@ -281,6 +281,6 @@ TEST { x:string | '选项1' -- 注释1 - | '选项2' -- 注释2]] + |>'选项2' -- 注释2]] } } |