From 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 30 Apr 2023 18:41:13 -0400 Subject: new config old version is now on v1 branch --- after/plugin/mason.lua | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 after/plugin/mason.lua (limited to 'after/plugin/mason.lua') diff --git a/after/plugin/mason.lua b/after/plugin/mason.lua new file mode 100644 index 0000000..ccd812e --- /dev/null +++ b/after/plugin/mason.lua @@ -0,0 +1,29 @@ +local status_ok, mason = pcall(require, "mason") +if not status_ok then + return +end + +mason.setup({ + ui = { + border = "shadow", + width = 0.6, + height = 0.9, + + icons = { + package_installed = "+", + package_pending = "?", + package_uninstalled = "x" + } + }, + keymaps = { + toggle_package_expand = "", + install_package = "i", -- Keymap to install the package under the current cursor position + update_package = "u", -- Keymap to reinstall/update the package under the current cursor position + check_package_version = "c", -- Keymap to check for new version for the package under the current cursor position + update_all_packages = "U", -- Keymap to update all installed packages + check_outdated_packages = "C", -- Keymap to check which installed packages are outdated + uninstall_package = "r", -- Keymap to uninstall a package + cancel_installation = "", -- Keymap to cancel a package installation + apply_language_filter = "", -- Keymap to apply language filter + }, +}) -- cgit v1.2.1