aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/installer.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2026-01-07 16:25:00 +0100
committerGitHub <noreply@github.com>2026-01-07 16:25:00 +0100
commit3fce8bd25e773bae4267c9e8f2cfbfda22aeb017 (patch)
tree9f1e34b7a31cd0b849c7b911254e8866412a6f0d /lua/mason-registry/installer.lua
parentchore(main): release 2.2.0 (#2032) (diff)
downloadmason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar.gz
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar.bz2
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar.lz
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar.xz
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.tar.zst
mason-3fce8bd25e773bae4267c9e8f2cfbfda22aeb017.zip
fix(registry): exclude synthesized registry when updating/installing registries (#2054)
This doesn't necessarily fix a "bug" but primarily fixes the message provided to users when updating registries. If a user has 1 registry configured the message is now "updating 2 registries", this fixes it to "updating registry".
Diffstat (limited to 'lua/mason-registry/installer.lua')
-rw-r--r--lua/mason-registry/installer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason-registry/installer.lua b/lua/mason-registry/installer.lua
index a5c9fe92..05592227 100644
--- a/lua/mason-registry/installer.lua
+++ b/lua/mason-registry/installer.lua
@@ -40,7 +40,7 @@ function M.install(sources, on_progress)
M.channel = OneShotChannel:new()
local finished_registries = {}
- local registries = sources:to_list { include_uninstalled = true }
+ local registries = sources:to_list { include_uninstalled = true, include_synthesized = false }
local results = {
a.wait_all(_.map(