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

Tell people when some packages are missing #1656

Open glyh opened 3 months ago

glyh commented 3 months ago

I've searched open issues for similar requests

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

I see issue that wants mason to manage npm here: https://github.com/williamboman/mason.nvim/issues/1286. But it's a neverending blackhole. What if npm depends on some system package that is missing? Should mason manage them as well. The easy solution I can think of it's just panic and provide a list of missing packages

Describe the solution you'd like

Check if cargo, pip, npm, etc is missing and provide a list to user when they are. Basically better error message.

Describe potential alternatives you've considered

No response

Additional context

No response