refactor(nvim): improve mason usage
This commit is contained in:
parent
ef46b8a704
commit
5f212352b2
@ -78,7 +78,7 @@ return {
|
|||||||
"folke/neodev.nvim",
|
"folke/neodev.nvim",
|
||||||
"Decodetalkers/csharpls-extended-lsp.nvim",
|
"Decodetalkers/csharpls-extended-lsp.nvim",
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
"williamboman/mason.nvim",
|
{ "williamboman/mason.nvim", cmd = { "Mason" } },
|
||||||
"simrat39/rust-tools.nvim",
|
"simrat39/rust-tools.nvim",
|
||||||
"Hoffs/omnisharp-extended-lsp.nvim",
|
"Hoffs/omnisharp-extended-lsp.nvim",
|
||||||
"b0o/schemastore.nvim",
|
"b0o/schemastore.nvim",
|
||||||
@ -148,7 +148,9 @@ return {
|
|||||||
},
|
},
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
config = function()
|
config = function()
|
||||||
require("mason").setup({})
|
require("mason").setup({
|
||||||
|
max_concurrent_installers = 12,
|
||||||
|
})
|
||||||
|
|
||||||
local mason_lspconfig = require("mason-lspconfig")
|
local mason_lspconfig = require("mason-lspconfig")
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
|
Loading…
Reference in New Issue
Block a user