diff options
author | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-04-30 18:41:13 -0400 |
commit | 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 (patch) | |
tree | ec2af23e59a38d4f9ac476e69abc07c8110b52a1 /after/plugin/mason.lua | |
parent | 7c5d3eff786bef884022cc813448bb085ba4eccd (diff) | |
download | nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.gz nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.bz2 nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.zip |
new config old version is now on v1 branch
Diffstat (limited to 'after/plugin/mason.lua')
-rw-r--r-- | after/plugin/mason.lua | 29 |
1 files changed, 29 insertions, 0 deletions
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 = "<CR>", + 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 = "<C-c>", -- Keymap to cancel a package installation + apply_language_filter = "<C-f>", -- Keymap to apply language filter + }, +}) |