refactor: use lazy's new opts_extend functionality for treesitter and mason

This commit is contained in:
Folke Lemaitre 2024-06-07 09:03:59 +02:00
parent f70d350085
commit ab41ff551b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
33 changed files with 54 additions and 219 deletions

View file

@ -261,11 +261,11 @@ return {
cmd = "Mason",
keys = { { "<leader>cm", "<cmd>Mason<cr>", desc = "Mason" } },
build = ":MasonUpdate",
opts_extend = { "ensure_installed" },
opts = {
ensure_installed = {
"stylua",
"shfmt",
-- "flake8",
},
},
---@param opts MasonSettings | {ensure_installed: string[]}