diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-16 21:08:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-16 21:08:04 +0800 |
commit | 268cfa9dd50292269c4c3bcc40093b54c6727bfa (patch) | |
tree | 248ff5c87ba38e8ee6fb54ce78eda06ffc0ca859 /test/completion | |
parent | c5246d2c0a4150101b97838375df20d97a2f9c56 (diff) | |
download | lua-language-server-268cfa9dd50292269c4c3bcc40093b54c6727bfa.zip |
cleanup code
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/init.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index b42cd15b..89cad975 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2373,3 +2373,25 @@ f(1, {}, {}, { kind = define.CompletionItemKind.Property, } } + +--TEST [[ +-----@class C +-----@field x number +-----@field y number +-- +-----@type C +--local t = { +-- $ +--} +-- +--]] +--{ +-- { +-- label = 'x', +-- kind = define.CompletionItemKind.Property, +-- }, +-- { +-- label = 'y', +-- kind = define.CompletionItemKind.Property, +-- } +--} |