option to reduce noisy Lua_LS's missing-fields warnings (#511)
This commit is contained in:
parent
1915cea32e
commit
ee9790b381
1 changed files with 2 additions and 0 deletions
2
init.lua
2
init.lua
|
@ -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' } },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue