From 5f212352b2284e113226244c425c8575834b88d2 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 18 Aug 2023 22:48:22 -0500 Subject: [PATCH] refactor(nvim): improve mason usage --- dots/.config/nvim/lua/plugins/configs/lsp.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/lsp.lua b/dots/.config/nvim/lua/plugins/configs/lsp.lua index 623eda7e..5d7aa311 100644 --- a/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -78,7 +78,7 @@ return { "folke/neodev.nvim", "Decodetalkers/csharpls-extended-lsp.nvim", "williamboman/mason-lspconfig.nvim", - "williamboman/mason.nvim", + { "williamboman/mason.nvim", cmd = { "Mason" } }, "simrat39/rust-tools.nvim", "Hoffs/omnisharp-extended-lsp.nvim", "b0o/schemastore.nvim", @@ -148,7 +148,9 @@ return { }, event = { "BufReadPre", "BufNewFile" }, config = function() - require("mason").setup({}) + require("mason").setup({ + max_concurrent_installers = 12, + }) local mason_lspconfig = require("mason-lspconfig") local lspconfig = require("lspconfig")