Ignore lua-ls warnings about missing-fields
This commit is contained in:
parent
97cfaddce8
commit
0c9780cdd5
@ -32,6 +32,18 @@ return {
|
|||||||
function(server_name)
|
function(server_name)
|
||||||
require('lspconfig')[server_name].setup({})
|
require('lspconfig')[server_name].setup({})
|
||||||
end,
|
end,
|
||||||
|
['lua_ls'] = function()
|
||||||
|
local lspconfig = require('lspconfig')
|
||||||
|
lspconfig.lua_ls.setup({
|
||||||
|
settings = {
|
||||||
|
Lua = {
|
||||||
|
diagnostics = {
|
||||||
|
disable = { "missing-fields" },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user