Sfoglia il codice sorgente

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

Tommy Williams 3 anni fa
parent
commit
ee9790b381
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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' } },
     },
   },
 }