fix(dot): install when list is empty (#3052)

This commit is contained in:
Daniel Mata
2024-05-03 02:06:33 -05:00
committed by GitHub
parent f086bcde25
commit 3086bf03e9

View File

@ -18,10 +18,8 @@ return {
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
opts = function(_, opts) opts = function(_, opts)
vim.list_extend(opts.ensure_installed or {}, { opts.ensure_installed = opts.ensure_installed or {}
"shfmt", vim.list_extend(opts.ensure_installed, { "shellcheck" })
"shellcheck",
})
end, end,
}, },
-- add some stuff to treesitter -- add some stuff to treesitter