mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Allow user to set path to ra_lsp_server in vscode settings
This commit is contained in:
parent
8d51b02362
commit
a6e04cfa7f
3 changed files with 13 additions and 1 deletions
|
@ -12,7 +12,7 @@ export class Server {
|
|||
notificationHandlers: Iterable<[string, lc.GenericNotificationHandler]>
|
||||
) {
|
||||
const run: lc.Executable = {
|
||||
command: 'ra_lsp_server',
|
||||
command: this.config.raLspServerPath,
|
||||
options: { cwd: '.' }
|
||||
};
|
||||
const serverOptions: lc.ServerOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue