diff options
-rw-r--r-- | editors/code/src/client.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 1ff64a930..15e1a0873 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts | |||
@@ -15,7 +15,13 @@ export function createClient(config: Config): lc.LanguageClient { | |||
15 | 15 | ||
16 | const command = expandPathResolving(config.raLspServerPath); | 16 | const command = expandPathResolving(config.raLspServerPath); |
17 | if (spawnSync(command, ["--version"]).status !== 0) { | 17 | if (spawnSync(command, ["--version"]).status !== 0) { |
18 | window.showErrorMessage(`Unable to execute '${command} --version'`); | 18 | window.showErrorMessage( |
19 | `Unable to execute '${command} --version' | ||
20 | |||
21 | Perhaps it is not in $PATH? | ||
22 | |||
23 | PATH=${process.env.PATH} | ||
24 | `); | ||
19 | } | 25 | } |
20 | const run: lc.Executable = { | 26 | const run: lc.Executable = { |
21 | command, | 27 | command, |