diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-09 00:00:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-09 00:00:40 +0800 |
commit | b7e30e823d25f0d31b37eed4ea1cad888f529fbd (patch) | |
tree | b2b6d9d52c3d1a1e78b330f285d0fb645b8bc33b /test-beta/completion/init.lua | |
parent | 9a050f2aa27dc026d0121b80084fb68093c37ac8 (diff) | |
download | lua-language-server-b7e30e823d25f0d31b37eed4ea1cad888f529fbd.zip |
更新
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r-- | test-beta/completion/init.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index c042dd7b..4d85045a 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -465,7 +465,7 @@ end { { label = 'fff', - kind = CompletionItemKind.Field, + kind = CompletionItemKind.Variable, }, } @@ -683,9 +683,6 @@ fff.kkk[#$].yy }, } --- TODO -do return end - TEST [[ local t = { a = 1, @@ -786,12 +783,10 @@ end { label = 'a', kind = CompletionItemKind.Field, - detail = EXISTS, }, { label = 'b', kind = CompletionItemKind.Field, - detail = EXISTS, }, } @@ -805,7 +800,7 @@ local ask = 1 TEST [[ local add -function f(a$) +function f(ad$) local _ = add end ]] @@ -828,6 +823,9 @@ end ]] (nil) +TEST [[ +print(io.$) +]] require 'config' .config.runtime.version = 'Lua 5.4' --TEST [[ --local $ |