option to reduce noisy Lua_LS's missing-fields warnings (#511)
This commit is contained in:
parent
c7b459e4b6
commit
1d1b53cbf0
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…
Add table
Add a link
Reference in a new issue