2024-05-26 16:18:00 +01:00
|
|
|
local mason = require("mason")
|
2022-10-19 00:47:07 +01:00
|
|
|
vim.api.nvim_create_augroup("_mason", { clear = true })
|
|
|
|
local options = {
|
|
|
|
PATH = "skip",
|
|
|
|
ui = {
|
|
|
|
icons = {
|
|
|
|
package_pending = " ",
|
2023-05-25 00:14:21 +01:00
|
|
|
package_installed = " ",
|
|
|
|
package_uninstalled = " ",
|
2022-10-19 00:47:07 +01:00
|
|
|
},
|
|
|
|
keymaps = {
|
|
|
|
toggle_server_expand = "<CR>",
|
|
|
|
install_server = "i",
|
|
|
|
update_server = "u",
|
|
|
|
check_server_version = "c",
|
|
|
|
update_all_servers = "U",
|
|
|
|
check_outdated_servers = "C",
|
|
|
|
uninstall_server = "X",
|
|
|
|
cancel_installation = "<C-c>",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
max_concurrent_installers = 10,
|
|
|
|
}
|
|
|
|
mason.setup(options)
|