diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-25 21:38:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-25 21:38:57 +0800 |
commit | 5ec8ad22d27051507c55d49d6144f08132976215 (patch) | |
tree | 75c843f738c0283eb19516293f857d29560d9b3c /script/vm | |
parent | 24f4dfa889cc66bd05223e5d8d36fa19865c772b (diff) | |
download | lua-language-server-5ec8ad22d27051507c55d49d6144f08132976215.zip |
cleanup
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/getDocs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua index 3a0765bf..544c1f60 100644 --- a/script/vm/getDocs.lua +++ b/script/vm/getDocs.lua @@ -153,7 +153,7 @@ local function isDeprecated(value) return true elseif doc.type == 'doc.version' then local valids = vm.getValidVersions(doc) - if not valids[config.get 'Lua.runtime.version'] then + if not valids[config.get(nil, 'Lua.runtime.version')] then value._deprecated = true return true end |