mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
fix(diagnostic): allow setting arbitrary config values
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user