Skip to content

Commit

Permalink
option to reduce noisy Lua_LS's missing-fields warnings (nvim-lua#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
wommy authored and williamhancharek committed Dec 31, 2023
1 parent acf446d commit bdb33fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,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' } },
},
},
}
Expand Down

0 comments on commit bdb33fa

Please sign in to comment.