summaryrefslogtreecommitdiff
path: root/script/core/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/completion.lua')
-rw-r--r--script/core/completion.lua1
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 ()