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 Nov 24, 2023
1 parent 1915cea commit ee9790b
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 @@ -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' } },
},
},
}
Expand Down

0 comments on commit ee9790b

Please sign in to comment.