diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 15:50:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 15:50:03 +0800 |
commit | 82c3b68c6b80f754aa9fc12a4f029eba237e2807 (patch) | |
tree | 7426eca82af208e643b57a872811e144607daba2 /test | |
parent | e7c4777ace613736d101927ccc6f5c877f89a611 (diff) | |
download | lua-language-server-82c3b68c6b80f754aa9fc12a4f029eba237e2807.zip |
fix
Diffstat (limited to 'test')
-rw-r--r-- | test/completion/common.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 1cdff803..7c383fe4 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -3382,3 +3382,17 @@ f(<??>) kind = define.CompletionItemKind.EnumMember, }, } + +TEST [[ +return function () + local function fff(xxx) + for f in xx<??> + end +end +]] +{ + { + label = 'xxx', + kind = define.CompletionItemKind.Variable, + }, +} |