summaryrefslogtreecommitdiff
path: root/script/vm/getDocs.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
commit7bfb8412822c96bddc375d1ca62810010c74c1a3 (patch)
tree312d7a4ee46f41f373f1b7e41903d9cdef8c8646 /script/vm/getDocs.lua
parent6467232bd9e5099be378b7a17bd183ef810c0d2d (diff)
downloadlua-language-server-7bfb8412822c96bddc375d1ca62810010c74c1a3.zip
deep level
Diffstat (limited to 'script/vm/getDocs.lua')
-rw-r--r--script/vm/getDocs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua
index a620fd0f..0f4b537d 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -163,7 +163,7 @@ end
function vm.isDeprecated(value, deep)
if deep then
- local defs = vm.getDefs(value, 'deep')
+ local defs = vm.getDefs(value, 0)
if #defs == 0 then
return false
end