Ensure installed for mason

This commit is contained in:
Vaclav Uruba 2025-05-28 19:16:35 -06:00
parent 9d8b0d2302
commit e096af711f
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -1,19 +1,38 @@
-- Plenary -- Plenary
return { return {
"mason-org/mason.nvim", "mason-org/mason.nvim",
config = function() opts = {
-- import mason ensure_installed = {
local mason = require("mason") -- formatters
"gofumpt",
-- enable mason and configure icons "goimports",
mason.setup({ "gomodifytags",
ui = { "prettier",
icons = { "sqruff",
package_installed = "", "stylua",
package_pending = "", -- linters
package_uninstalled = "", "eslint_d",
}, "golangci-lint",
"pylint",
"sqlfluff",
"sqruff",
-- LSP
"css-lsp",
"emmet-language-server",
"eslint-lsp",
"html-lsp",
"lua-language-server",
"phpactor",
"sqlls",
"svelte-language-server",
"typescript-language-server",
},
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = "",
}, },
}) },
end, },
} }