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
(cherry picked from commit ee9790b)
  • Loading branch information
wommy authored and RamezAkasheh committed Jan 18, 2024
1 parent ddb53ea commit b0deebf
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 @@ -642,6 +642,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 b0deebf

Please sign in to comment.