fix(dot): install when list is empty

This commit is contained in:
Daniel Mata 2024-04-24 17:44:21 -05:00
parent f086bcde25
commit 06978b431e

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