diff options
| author | William Boman <william@redwill.se> | 2026-05-14 17:21:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-14 17:21:42 +0200 |
| commit | 8e921c2b68571e978db5d4d3fef9c9a7f8755473 (patch) | |
| tree | c16d4b5c8a6e33877c523d2e7ff714090432a8de /README.md | |
| parent | fix(pypi): add python 3.13 and 3.14 to list of fallbacks (#2081) (diff) | |
| download | mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.gz mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.bz2 mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.lz mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.xz mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.tar.zst mason-8e921c2b68571e978db5d4d3fef9c9a7f8755473.zip | |
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
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -207,6 +207,14 @@ local DEFAULT_SETTINGS = { "github:mason-org/mason-registry", }, + ---@since 2.3.0 + -- [Advanced setting] + -- The registries to source system packages from. Accepts multiple entries. Should a package with the same name exist in + -- multiple registries, the registry listed first will be used. + system_registries = { + "github:mason-org/mason-system-registry", + }, + ---@since 1.0.0 -- The provider implementations to use for resolving supplementary package metadata (e.g., all available versions). -- Accepts multiple entries, where later entries will be used as fallback should prior providers fail. @@ -241,6 +249,15 @@ local DEFAULT_SETTINGS = { install_args = {}, }, + npm = { + ---@since 2.3.0 + -- These args will be added to `npm install` calls. Note that setting extra args might impact intended behavior + -- and is not recommended. + -- + -- Example: { "--registry", "https://registry.npmjs.org/" } + install_args = {}, + }, + ui = { ---@since 1.0.0 -- Whether to automatically check for new versions when opening the :Mason window. |
