Explorar o código

option to reduce noisy Lua_LS's missing-fields warnings (#511)

Tommy Williams %!s(int64=3) %!d(string=hai) anos
pai
achega
ee9790b381
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      init.lua

+ 2 - 0
init.lua

@@ -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' } },
     },
   },
 }