summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/mason.lua
blob: b3eeacffc2d73325cfc7f8bd886ea22b2571745f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}