diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 19:42:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 19:42:29 +0800 |
commit | aca59aa323084ce7b1add1a6771ff0744f5834d4 (patch) | |
tree | 14f27e1b14e56fd18b7f554e1f277ad4277a8190 /script/core/completion.lua | |
parent | e185f2f4ca0df0654359537bb7df352eb0b2697b (diff) | |
download | lua-language-server-aca59aa323084ce7b1add1a6771ff0744f5834d4.zip |
completion shows deprecated of non-function
Diffstat (limited to 'script/core/completion.lua')
-rw-r--r-- | script/core/completion.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua index 731bd3ad..faa8fb41 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -396,6 +396,7 @@ local function checkFieldThen(name, src, word, start, offset, parent, oop, resul results[#results+1] = { label = name, kind = kind, + deprecated = vm.isDeprecated(src) or nil, textEdit = textEdit, additionalTextEdits = additionalTextEdits, id = stack(function () |