From 69862d6c8dbe215489c3e48e624ff25f44437e55 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 7 Jan 2026 15:46:58 +0100 Subject: feat: add support for removal of packages from a registry (#2052) This adds support for removal of packages from any given registry. Currently mason.nvim doesn't support this at all and throws an error when trying to interact with the registry in any way while having a removed package installed locally. This ensures that removed packages are available both in the `:Mason` UI as well as the public Lua APIs. These "synthesized" packages only supports uninstallation, and metadata such as licenses, categories, homepage, etc is not available. --- lua/mason-registry/sources/github.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'lua/mason-registry/sources/github.lua') diff --git a/lua/mason-registry/sources/github.lua b/lua/mason-registry/sources/github.lua index 597e7d84..2b177bdd 100644 --- a/lua/mason-registry/sources/github.lua +++ b/lua/mason-registry/sources/github.lua @@ -1,5 +1,4 @@ local InstallLocation = require "mason-core.installer.InstallLocation" -local Optional = require "mason-core.optional" local Result = require "mason-core.result" local _ = require "mason-core.functional" local fetch = require "mason-core.fetch" -- cgit v1.2.3-70-g09d2