41 lines
1.6 KiB
Lua
41 lines
1.6 KiB
Lua
--
|
|
-- ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
|
|
-- ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
|
|
-- ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
|
|
-- ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
|
|
-- ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
|
|
-- ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
|
|
--
|
|
-- File: plugins/configs/mason.lua
|
|
-- Description: mason
|
|
-- Author: Kien Nguyen-Tuan <kiennt2609@gmail.com>
|
|
return {
|
|
{ "mason-org/mason.nvim", version = "*" },
|
|
{ "mason-org/mason-lspconfig.nvim", version = "*" },
|
|
"neovim/nvim-lspconfig",
|
|
|
|
require("mason").setup {
|
|
PATH = "prepend",
|
|
ui = {
|
|
icons = {
|
|
package_pending = " ",
|
|
package_installed = " ",
|
|
package_uninstalled = " ",
|
|
},
|
|
|
|
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,
|
|
},
|
|
}
|