summaryrefslogtreecommitdiff
path: root/script/vm/getDocs.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-01 16:31:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-01 16:31:18 +0800
commit3011a124fe961bb623fa627abfd64030f128b4c1 (patch)
treedb3715606e005dd5a444356c58cb3e36f488179a /script/vm/getDocs.lua
parent329e2d7dfa0268a6288086f1a2e3581d5b31cfc6 (diff)
downloadlua-language-server-3011a124fe961bb623fa627abfd64030f128b4c1.zip
cleanup
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 79e60fed..dd21c965 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -135,7 +135,7 @@ local function isDeprecated(value)
return true
elseif doc.type == 'doc.version' then
local valids = vm.getValidVersions(doc)
- if not valids[config.config.runtime.version] then
+ if not valids[config.Lua.runtime.version] then
value._deprecated = true
return true
end