Skip to content

Language server version pinning #619

Description

@stanekondrej

Is your feature request related to a problem? Please describe.

Fedora bundles Zig 14, but ZLS installed with Mason only supports Zig 15. I believe it would be beneficial for many people, as language servers not only add new features, but sometimes accidentally break some, and if a person wants stability, then pinning known-good versions would be the way to go, I think.

Describe the solution you'd like

Add a config field for a language server version, something like what Lazy.nvim does - see the version field.

Describe potential alternatives you've considered

I guess a person could definitely install language servers by hand, but that would defeat the purpose of Mason (and by extension any package manager).

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions