♻️ refactor(nvim): ansible extra is now extended because lazyvim introduced a native one

This commit is contained in:
Sergio Laín 2024-03-07 21:49:54 +01:00
parent db44b35d71
commit 4515a83930
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -1,10 +1,11 @@
return {
{ import = "lazyvim.plugins.extras.lang.yaml" },
{ import = "lazyvim.plugins.extras.lang.ansible" },
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "ansible-lint", "ansible-language-server" })
vim.list_extend(opts.ensure_installed, { "ansible-language-server" })
end,
},
{
@ -21,11 +22,6 @@ return {
},
})
end,
opts = {
servers = {
ansiblels = {},
},
},
},
{
"mfussenegger/nvim-lint",