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
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
return{
|
return {
|
||||||
'kylechui/nvim-surround',
|
'kylechui/nvim-surround',
|
||||||
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user