kickstart.nvim/lua/custom/plugins/mason-workaround.lua

11 lines
589 B
Lua

-- mason and mason-lspconfig released version 2.0.
-- with some breaking changes, multiple methods have been changed
-- therefore (for now) a workaround is needed for Mason to still work in LazyVim
-- THIS WILL PIN the VERSION number, remove this file later, when it's no longer needed
-- https://www.reddit.com/r/neovim/comments/1kgu748/masonnvim_20_has_been_released/mr41tkr/
return {
{ "mason-org/mason.nvim", version = "1.11.0" },
{ "mason-org/mason-lspconfig.nvim", version = "1.32.0" },
}
-- after adding/saving this file run :Lazy to potentially 're-install' the versions above