Skip to content

Commit 6adb320

Browse files
wommyrizanafis
authored andcommitted
option to reduce noisy Lua_LS's missing-fields warnings (nvim-lua#511)
1 parent 5e1ffcd commit 6adb320

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ local servers = {
542542
Lua = {
543543
workspace = { checkThirdParty = false },
544544
telemetry = { enable = false },
545+
-- NOTE: toggle below to ignore Lua_LS's noisy `missing-fields` warnings
546+
-- diagnostics = { disable = { 'missing-fields' } },
545547
},
546548
},
547549
}

0 commit comments

Comments
 (0)