diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-15 10:57:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-15 10:57:28 +0800 |
commit | b576dfb1ba883fcee8a99f4213e6e7b26461fc0e (patch) | |
tree | 7591e2f8e9b1873bd64acdb0c5e13b5371288c8c /script-beta/provider | |
parent | 1ba8eec18915f479a6a4e55bcc9c3a3d6a9721ce (diff) | |
download | lua-language-server-b576dfb1ba883fcee8a99f4213e6e7b26461fc0e.zip |
自动完成支持 deprecated
Diffstat (limited to 'script-beta/provider')
-rw-r--r-- | script-beta/provider/provider.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua index 71004c55..c747027c 100644 --- a/script-beta/provider/provider.lua +++ b/script-beta/provider/provider.lua @@ -360,6 +360,7 @@ proto.on('textDocument/completion', function (params) local item = { label = res.label, kind = res.kind, + deprecated = res.deprecated, sortText = ('%04d'):format(i), insertText = res.insertText, insertTextFormat = res.insertTextFormat, |