summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-01 20:00:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-01 20:00:22 +0800
commit71e3ff51d3fb21f3e78a3948809ce4ae92613de2 (patch)
tree936752e4377a48281cd4b1752b53bcda1352d0bb /script/vm
parent8077e3e08f2dd799ef9b5335005f1bf85d6340cd (diff)
downloadlua-language-server-71e3ff51d3fb21f3e78a3948809ce4ae92613de2.zip
cleanup
Diffstat (limited to 'script/vm')
-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 dd21c965..e8fefb7a 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.Lua.runtime.version] then
+ if not valids[config.get 'Lua.runtime.version'] then
value._deprecated = true
return true
end