diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-26 18:09:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-26 18:09:04 +0800 |
commit | 0e425123aaf2fe14b0031988277326831a10764a (patch) | |
tree | d60e4656b84a7b42e42f7d93ca446b7786ae7c7e /server/test/completion/init.lua | |
parent | 71122e07d25c8f97219ef91226eb94de65a19825 (diff) | |
download | lua-language-server-0e425123aaf2fe14b0031988277326831a10764a.zip |
支持不在字符串内部
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index edefd51d..ee66bf97 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -376,3 +376,29 @@ TEST [[ collectgarbage(@) ]] (EXISTS) + +TEST [[ +io.read(@) +]] +{ + { + label = '"n"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"a"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"l"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"L"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, +} |