williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
7.22k stars 258 forks source link

3rd party purl resolver api #1743

Open Lazerbeak12345 opened 1 week ago

Lazerbeak12345 commented 1 week ago

I've searched open issues for similar requests

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

Not a problem per-se, but it could give better system integration.

Further, this could perhaps fix the related issues.

Describe the solution you'd like

A lua API that allows a user to override Mason's default way of installing things. The API would provide a purl, and expect that the package is installed, removed, updated, etc.

(one example use case is to replace Mason's installation stack with https://github.com/kdeldycke/meta-package-manager which is under the GPLv2 and can install packages via purl)

Describe potential alternatives you've considered

Keep it as-is?

Additional context

Related