Skip to content

Commit

Permalink
fix(dot): install when list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
matadaniel committed Apr 24, 2024
1 parent f086bcd commit 06978b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/lazyvim/plugins/extras/util/dot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed or {}, {
"shfmt",
"shellcheck",
})
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "shellcheck" })
end,
},
-- add some stuff to treesitter
Expand Down

0 comments on commit 06978b4

Please sign in to comment.