diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-26 17:17:39 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-26 17:17:39 +0800 |
commit | 8a37a08d8610602295486e8a60b1938ac5df6092 (patch) | |
tree | 676900c81f75a41288a29afb5c10866ddb69bba8 /server/test | |
parent | 3702ece04522631c6e62a5ff99140e682b76cfca (diff) | |
download | lua-language-server-8a37a08d8610602295486e8a60b1938ac5df6092.zip |
更新语法解析
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/completion/init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index aa310d30..eb30d9a0 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -930,3 +930,15 @@ function f($) kind = CompletionItemKind.Interface, }, } + +TEST [[ +local function f() + ---@t$ +end +]] +{ + { + label = 'type', + kind = CompletionItemKind.Keyword, + } +} |