diff options
Diffstat (limited to '.config/nvim/lua/justsaumit/mason.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/mason.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/mason.lua b/.config/nvim/lua/justsaumit/mason.lua new file mode 100644 index 0000000..9698b00 --- /dev/null +++ b/.config/nvim/lua/justsaumit/mason.lua @@ -0,0 +1,27 @@ +require("mason").setup({ + options = { + ensure_installed = { "clangd", "clangd-format", "codelldb", "lua-language-server" }, -- not an option from mason.nvim + PATH = "skip" + }, + 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, +}) +require("mason-lspconfig").setup ({ + ensure_installed = { "lua_ls", "clangd", "pyright", "rust_analyzer" }, +}) |