option to reduce noisy Lua_LS's missing-fields warnings (#511)

This commit is contained in:
Tommy Williams 2023-11-24 09:55:19 -07:00 committed by GitHub
parent 1915cea32e
commit ee9790b381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -522,6 +522,8 @@ local servers = {
Lua = {
workspace = { checkThirdParty = false },
telemetry = { enable = false },
-- NOTE: toggle below to ignore Lua_LS's noisy `missing-fields` warnings
-- diagnostics = { disable = { 'missing-fields' } },
},
},
}