fix(diagnostic): allow setting arbitrary config values

This commit is contained in:
Gregory Anders 2022-01-11 16:43:47 -07:00
parent fc8af96888
commit 984270c09f

View File

@ -611,10 +611,8 @@ function M.config(opts, namespace)
t = global_diagnostic_options t = global_diagnostic_options
end end
for opt in pairs(global_diagnostic_options) do for k, v in pairs(opts) do
if opts[opt] ~= nil then t[k] = v
t[opt] = opts[opt]
end
end end
if namespace then if namespace then