diff options
author | Kirill Bulatov <[email protected]> | 2020-11-15 22:19:04 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 20:46:20 +0100 |
commit | d9a5490646f68efdb70f84713d3a418a2b2a0b00 (patch) | |
tree | 2cad71ad7056d07c3e06c6566bd5b74a6cae5054 /editors/code/src/client.ts | |
parent | 16054887102104208f4a0fc0e75e702b85a2eae8 (diff) |
Start rust-analyzer server for arbitrary rust files
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r-- | editors/code/src/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 116f41df6..131a2f19a 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts | |||
@@ -23,7 +23,7 @@ function renderHoverActions(actions: ra.CommandLinkGroup[]): vscode.MarkdownStri | |||
23 | return result; | 23 | return result; |
24 | } | 24 | } |
25 | 25 | ||
26 | export function createClient(serverPath: string, cwd: string, extraEnv: Env): lc.LanguageClient { | 26 | export function createClient(serverPath: string, cwd: string | undefined, extraEnv: Env): lc.LanguageClient { |
27 | // '.' Is the fallback if no folder is open | 27 | // '.' Is the fallback if no folder is open |
28 | // TODO?: Workspace folders support Uri's (eg: file://test.txt). | 28 | // TODO?: Workspace folders support Uri's (eg: file://test.txt). |
29 | // It might be a good idea to test if the uri points to a file. | 29 | // It might be a good idea to test if the uri points to a file. |