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,12 +1,32 @@
-- 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",
"prettier",
"sqruff",
"stylua",
-- linters
"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 = { ui = {
icons = { icons = {
package_installed = "", package_installed = "",
@ -14,6 +34,5 @@ return {
package_uninstalled = "", package_uninstalled = "",
}, },
}, },
}) },
end,
} }