diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-26 20:06:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-26 20:06:10 +0800 |
commit | f92a71db462b2769eea194143f15ab090b665862 (patch) | |
tree | ecd852562a7000e47e028718a27e13477569b6d0 /server/test/completion/init.lua | |
parent | 07b47b134c45a2528644bd6a481b8e46b691fdfc (diff) | |
download | lua-language-server-f92a71db462b2769eea194143f15ab090b665862.zip |
自动完成也支持 EmmyComment
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index 2b63358e..c60e8ea0 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -1321,3 +1321,20 @@ JustTest }, } } + +TEST [[ +--- abc +zzz = 1 +zz$ +]] +{ + { + label = 'zzz', + kind = CompletionItemKind.Enum, + detail = '(number) = 1', + documentation = { + kind = 'markdown', + value = 'abc', + } + } +} |