mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
fix(diagnostic): allow setting arbitrary config values
This commit is contained in:
parent
fc8af96888
commit
984270c09f
@ -611,10 +611,8 @@ function M.config(opts, namespace)
|
||||
t = global_diagnostic_options
|
||||
end
|
||||
|
||||
for opt in pairs(global_diagnostic_options) do
|
||||
if opts[opt] ~= nil then
|
||||
t[opt] = opts[opt]
|
||||
end
|
||||
for k, v in pairs(opts) do
|
||||
t[k] = v
|
||||
end
|
||||
|
||||
if namespace then
|
||||
|
Loading…
Reference in New Issue
Block a user