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

Adding nvim/mason/bin to $PATH by default on WSL #1627

Open Karidus-423 opened 4 months ago

Karidus-423 commented 4 months ago

I've searched open issues for similar requests

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

Is more of a problem that I encountered and already solve in which I encountered the "client n was unable to start exit code 127 signal 0". This seems to occur when a LSP is installed with npm, as with lua_ls and clangd did not have the issue.

Describe the solution you'd like

I solved the issue by just adding the nvim/mason/bin to $PATH.

echo $PATH\n |grep mason
/home/usr/.local/share/nvim/mason/bin/

It would just be nice to have this by default.

Describe potential alternatives you've considered

No response

Additional context

No response