summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-15 15:34:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-15 15:34:20 +0800
commitc2fa4723d251614eee6126fd467fa4a94870a11a (patch)
tree752afb1fe982c4129f0baaceb18415bf4df97289 /script/config
parente49612e4c4ca71f811c3fb589e7e7acbbeb049fc (diff)
downloadlua-language-server-c2fa4723d251614eee6126fd467fa4a94870a11a.zip
setting head `Lua.` can be omitted
Diffstat (limited to 'script/config')
-rw-r--r--script/config/config.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/config/config.lua b/script/config/config.lua
index 52848a44..92d77a5c 100644
--- a/script/config/config.lua
+++ b/script/config/config.lua
@@ -317,6 +317,8 @@ function m.update(new)
end
if Template[fullKey] then
m.set(fullKey, value)
+ elseif Template['Lua.' .. fullKey] then
+ m.set('Lua.' .. fullKey, value)
elseif type(value) == 'table' then
expand(value, fullKey)
end