refactor(nvim): improve mason usage

This commit is contained in:
Price Hiller 2023-08-18 22:48:22 -05:00
parent ef46b8a704
commit 5f212352b2
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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")