From 8e921c2b68571e978db5d4d3fef9c9a7f8755473 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 14 May 2026 17:21:42 +0200 Subject: feat: add the infrastructure to support "system" packages (#2085) This enables `mason.nvim` to start managing certain packages that: 1) are not suitable for the core registry 2) should not surface in existing APIs and UIs --- lua/mason-registry/sources/lua.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua/mason-registry/sources/lua.lua') diff --git a/lua/mason-registry/sources/lua.lua b/lua/mason-registry/sources/lua.lua index 40e728b6..273655c0 100644 --- a/lua/mason-registry/sources/lua.lua +++ b/lua/mason-registry/sources/lua.lua @@ -13,12 +13,14 @@ local LuaRegistrySource = {} LuaRegistrySource.__index = LuaRegistrySource ---@param spec LuaRegistrySourceSpec -function LuaRegistrySource:new(spec) +---@param system boolean +function LuaRegistrySource:new(spec, system) ---@type LuaRegistrySource local instance = {} setmetatable(instance, LuaRegistrySource) instance.id = spec.id instance.spec = spec + instance.system = system return instance end