mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-13 19:04:36 +02:00
fix tests
This commit is contained in:
parent
db31669abd
commit
dc5100e843
1 changed files with 3 additions and 3 deletions
|
@ -27,10 +27,10 @@ describe("Extra", function()
|
||||||
end, extras)
|
end, extras)
|
||||||
|
|
||||||
local lsp_to_pkg = {}
|
local lsp_to_pkg = {}
|
||||||
if vim.fn.has("nvim-0.11") == 1 then
|
if require("lazy.core.config").spec.plugins["mason-lspconfig.nvim"].version == "^1.0.0" then
|
||||||
lsp_to_pkg = require("mason-lspconfig.mappings").get_mason_map().lspconfig_to_package
|
|
||||||
else
|
|
||||||
lsp_to_pkg = require("mason-lspconfig.mappings.server").lspconfig_to_package
|
lsp_to_pkg = require("mason-lspconfig.mappings.server").lspconfig_to_package
|
||||||
|
else
|
||||||
|
lsp_to_pkg = require("mason-lspconfig.mappings").get_mason_map().lspconfig_to_package
|
||||||
end
|
end
|
||||||
|
|
||||||
local tsspec = Plugin.Spec.new({
|
local tsspec = Plugin.Spec.new({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue