diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-16 09:56:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-16 09:56:00 +0800 |
commit | 4b995d60acb4d54169de9d3e3baf5c4fab408593 (patch) | |
tree | efdb9a3926c1aeaf70a0f5d5fc2690418eeda7b4 /script | |
parent | cb28b668db32b7afe29c9d01dfcc700b0377e266 (diff) | |
download | lua-language-server-4b995d60acb4d54169de9d3e3baf5c4fab408593.zip |
check config result
Diffstat (limited to 'script')
-rw-r--r-- | script/provider/provider.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 2fb999e7..10348fac 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -42,6 +42,11 @@ local function updateConfig() exclude = configs[3], } + if not updated then + log.warn('No config?', util.dump(configs)) + return + end + local oldConfig = util.deepCopy(config.config) local oldOther = util.deepCopy(config.other) config.setConfig(updated, other) |