diff options
author | Squibid <me@zacharyscheiman.com> | 2024-08-09 02:45:31 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-08-09 02:45:31 -0400 |
commit | c489d393695e90d424f9ae51e35c4d42358e6a71 (patch) | |
tree | 12ea97ec4684fd82cd6b73dd127d0137b115837b /lua/conf/plugins/mason.lua | |
parent | ad76983d969c318e6e234bc82384b4b025d70447 (diff) | |
download | nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.gz nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.tar.bz2 nvim-c489d393695e90d424f9ae51e35c4d42358e6a71.zip |
yes there's a bit of java in my nvim config why do you ask?
Diffstat (limited to '')
-rw-r--r-- | lua/conf/plugins/mason.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lua/conf/plugins/mason.lua b/lua/conf/plugins/mason.lua new file mode 100644 index 0000000..b3eeacf --- /dev/null +++ b/lua/conf/plugins/mason.lua @@ -0,0 +1,31 @@ +return { 'williamboman/mason.nvim', + disable = vim.version().minor < 7, + function() + local mason = require('mason') + + mason.setup { + ui = { + border = "solid", + width = 0.8, + height = 0.9, + + icons = { + package_installed = "+", + package_pending = "?", + package_uninstalled = "x" + } + }, + keymaps = { + toggle_package_expand = "<CR>", + install_package = "i", + update_package = "u", + check_package_version = "c", + update_all_packages = "U", + check_outdated_packages = "C", + uninstall_package = "r", + cancel_installation = "<C-c>", + apply_language_filter = "<C-f>" + } + } + end +} |