Ignore lua-ls warnings about missing-fields

This commit is contained in:
Kenneth Benzie 2024-03-03 22:43:39 +00:00
parent 97cfaddce8
commit 0c9780cdd5
2 changed files with 13 additions and 1 deletions

View File

@ -32,6 +32,18 @@ return {
function(server_name)
require('lspconfig')[server_name].setup({})
end,
['lua_ls'] = function()
local lspconfig = require('lspconfig')
lspconfig.lua_ls.setup({
settings = {
Lua = {
diagnostics = {
disable = { "missing-fields" },
}
}
}
})
end
},
})