mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Pass string instread of WorkspaceFolder
This commit is contained in:
parent
9ef1e9efc6
commit
3eb45b9922
3 changed files with 5 additions and 5 deletions
|
@ -19,9 +19,9 @@ export class Ctx {
|
|||
config: Config,
|
||||
extCtx: vscode.ExtensionContext,
|
||||
serverPath: string,
|
||||
workspaceFolder: vscode.WorkspaceFolder,
|
||||
cwd: string,
|
||||
): Promise<Ctx> {
|
||||
const client = await createClient(config, serverPath, workspaceFolder);
|
||||
const client = await createClient(config, serverPath, cwd);
|
||||
const res = new Ctx(config, extCtx, client, serverPath);
|
||||
res.pushCleanup(client.start());
|
||||
await client.onReady();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue