kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

rust: use already installed server if found #147

Closed splatterxl closed 2 years ago

splatterxl commented 2 years ago

I was trying to install rust-analyzer on my Android machine on Termux, and Termux requires a specially compiled version of it (along with every other package), which makes the method of downloading from the release not viable. The other way is to soft-link an already existing binary from $PREFIX/bin, where Termux packages' binaries are stored.

I don't think it'd be very efficient to completely copy the binary, so I decided to use a symlink.

kabouzeid commented 2 years ago

This is not the purpose of this plugin. In fact, if you already have rust-analyzer installed you don't need this plugin for rust, you can just register your rust-analyzer directly in lspconfig.