Skip to content

Commit ee9790b

Browse files
authored
option to reduce noisy Lua_LS's missing-fields warnings (#511)
1 parent 1915cea commit ee9790b

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
@@ -522,6 +522,8 @@ local servers = {
522522
Lua = {
523523
workspace = { checkThirdParty = false },
524524
telemetry = { enable = false },
525+
-- NOTE: toggle below to ignore Lua_LS's noisy `missing-fields` warnings
526+
-- diagnostics = { disable = { 'missing-fields' } },
525527
},
526528
},
527529
}

0 commit comments

Comments
 (0)