32 lines
634 B
Lua
32 lines
634 B
Lua
local M = { "williamboman/mason.nvim" }
|
|
|
|
local icons = require('config.icons')
|
|
|
|
M.cmd = {
|
|
"Mason",
|
|
"MasonInstall",
|
|
"MasonUninstall",
|
|
"MasonUninstallAll",
|
|
"MasonLog",
|
|
"MasonUpdate",
|
|
}
|
|
|
|
M.build = ":MasonUpdate"
|
|
|
|
M.keys = { { "<leader>lI", "<cmd>Mason<cr>", desc = "Mason" } }
|
|
|
|
M.opts = {
|
|
ui = {
|
|
border = "none",
|
|
icons = {
|
|
package_installed = icons.PackageInstalled,
|
|
package_pending = icons.PackagePending,
|
|
package_uninstalled = icons.PackageUninstalled,
|
|
},
|
|
},
|
|
log_level = vim.log.levels.INFO,
|
|
max_concurrent_installers = 4,
|
|
}
|
|
|
|
return M
|