diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-19 16:31:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-19 16:31:16 +0800 |
commit | cdd20c7926fe37ea627741eae34d70e24b111ff4 (patch) | |
tree | 52a8cf1fa53ef3ef53b936e31a196f2022f2e43e /server/test/completion | |
parent | 712b8bfd2946e15d4550fbe662746acaad46a53a (diff) | |
download | lua-language-server-cdd20c7926fe37ea627741eae34d70e24b111ff4.zip |
格式化一下值
Diffstat (limited to 'server/test/completion')
-rw-r--r-- | server/test/completion/init.lua | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index c666dd5d..cf827f40 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -155,7 +155,7 @@ t.a@ { label = 'abc', kind = CompletionItemKind.Enum, - detail = 'abc = 1', + detail = '= 1', } } @@ -167,7 +167,19 @@ z@ { label = 'zabc', kind = CompletionItemKind.Variable, - detail = 'zabc = 1', + detail = '= 1', + } +} + +TEST [[ +local zabc = 1.0 +z@ +]] +{ + { + label = 'zabc', + kind = CompletionItemKind.Variable, + detail = '= 1.0', } } @@ -211,4 +223,3 @@ t.@ kind = CompletionItemKind.Field, }, } - |