diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 10:41:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 10:41:22 +0800 |
commit | 957d162f4e7e84950530d9541c269433525c2c3e (patch) | |
tree | 6be386a83207fb36e28a3d7d9637c0ad3b705dff /test-beta | |
parent | 6da6846090b5c341c4cbb2da8da790779e9de07e (diff) | |
download | lua-language-server-957d162f4e7e84950530d9541c269433525c2c3e.zip |
field的搜索优先度
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 30731a3c..69425988 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -207,6 +207,20 @@ t.ab$ } TEST [[ +local t = { + abc = 1, +} +local n = t.abc +t.ab$ +]] +{ + { + label = 'abc', + kind = CompletionItemKind.Enum, + } +} + +TEST [[ local mt = {} mt.ggg = 1 function mt:get(a, b) |