41 lines
817 B
Lua
41 lines
817 B
Lua
return {
|
|
"williamboman/mason.nvim",
|
|
dependencies = {
|
|
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
|
},
|
|
config = function()
|
|
local mason = require("mason")
|
|
|
|
local mason_tool_installer = require("mason-tool-installer")
|
|
|
|
-- enable mason and configure icons
|
|
mason.setup({
|
|
ui = {
|
|
icons = {
|
|
package_installed = "✓",
|
|
package_pending = "➜",
|
|
package_uninstalled = "✗",
|
|
},
|
|
},
|
|
})
|
|
|
|
mason_tool_installer.setup({
|
|
ensure_installed = {
|
|
"standardrb",
|
|
"prettier",
|
|
"prettierd",
|
|
"ktlint",
|
|
"eslint_d",
|
|
"google-java-format",
|
|
"htmlbeautifier",
|
|
"beautysh",
|
|
"buf",
|
|
"rustfmt",
|
|
"yamlfix",
|
|
"taplo",
|
|
"shellcheck",
|
|
},
|
|
})
|
|
end,
|
|
}
|