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.23k stars 258 forks source link

Can support a custom callback function for detecting server updates? #1617

Closed fcying closed 3 months ago

fcying commented 5 months ago

I've searched open issues for similar requests

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

no

Describe the solution you'd like

I register a custom server, the server update from local intranet, It can be used fine, but it cannot detect update. Is it possible to add a 'custom' type in the get_new_version_by_type array? When using this type, it will invoke a custom callback function to detect update.

Describe potential alternatives you've considered

No response

Additional context

No response