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.
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.
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.