mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-03 01:25:33 +02:00
fix(mason): conform to v2 changes
This commit is contained in:
commit
040be9b87a
24 changed files with 85 additions and 55 deletions
|
@ -26,7 +26,7 @@ describe("Extra", function()
|
|||
return not vim.tbl_contains(ignore, extra.modname)
|
||||
end, extras)
|
||||
|
||||
local lsp_to_pkg = require("mason-lspconfig.mappings.server").lspconfig_to_package
|
||||
local lsp_to_pkg = require("mason-lspconfig").get_mappings().lspconfig_to_package
|
||||
|
||||
local tsspec = Plugin.Spec.new({
|
||||
import = "lazyvim.plugins.treesitter",
|
||||
|
@ -44,7 +44,7 @@ describe("Extra", function()
|
|||
local mod = require(extra.modname)
|
||||
assert.is_not_nil(mod)
|
||||
local spec = Plugin.Spec.new({
|
||||
{ "williamboman/mason.nvim", opts = { ensure_installed = {} } },
|
||||
{ "mason-org/mason.nvim", opts = { ensure_installed = {} } },
|
||||
{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
|
||||
mod,
|
||||
}, { optional = true })
|
||||
|
@ -60,7 +60,7 @@ describe("Extra", function()
|
|||
|
||||
local mod = require(extra.modname)
|
||||
local spec = Plugin.Spec.new({
|
||||
{ "williamboman/mason.nvim", opts = { ensure_installed = {} } },
|
||||
{ "mason-org/mason.nvim", opts = { ensure_installed = {} } },
|
||||
{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
|
||||
mod,
|
||||
}, { optional = true })
|
||||
|
|
|
@ -8,8 +8,8 @@ require("lazy.minit").setup({
|
|||
spec = {
|
||||
{ dir = vim.uv.cwd() },
|
||||
"LazyVim/starter",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason-lspconfig.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
{ "echasnovski/mini.icons", opts = {} },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue