You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is documented in the rust-analyzer manual, and the relevant implementation within the VSCode extension is here
In rustaceanvim, there is a similar configuration option: vim.g.rustaceanvim.server.cmd(config definition in source).
However, it would be nice if rustaceanvim picked up custom rust-analyzer binary from settings.json as well.
This is particularly useful when different projects require different rust-analyzer binaries.
Currently we need to manually write some logic to configure per project rust-analyzer via custom $PATH or per-project vim.g.rustaceanvim.server.cmd
The text was updated successfully, but these errors were encountered:
Feature description
In VSCode you can specify the path to the
rust-analyzer
by setting therust-analyzer.server.path
key in.vscode/settings.json
:This is documented in the rust-analyzer manual, and the relevant implementation within the VSCode extension is here
In
rustaceanvim
, there is a similar configuration option:vim.g.rustaceanvim.server.cmd
(config definition in source).However, it would be nice if
rustaceanvim
picked up customrust-analyzer
binary fromsettings.json
as well.This is particularly useful when different projects require different
rust-analyzer
binaries.Currently we need to manually write some logic to configure per project
rust-analyzer
via custom$PATH
or per-projectvim.g.rustaceanvim.server.cmd
The text was updated successfully, but these errors were encountered: