override language client

This commit is contained in:
jprochazk 2023-10-28 16:34:00 +02:00
parent f493207744
commit 3e4de963a2
2 changed files with 14 additions and 1 deletions

View file

@ -10,6 +10,7 @@ import { type Config, prepareVSCodeConfig } from "./config";
import { randomUUID } from "crypto";
import { sep as pathSeparator } from "path";
import { unwrapUndefinable } from "./undefinable";
import { RaLanguageClient } from "./base_client";
export interface Env {
[name: string]: string;
@ -363,7 +364,7 @@ export async function createClient(
},
};
const client = new lc.LanguageClient(
const client = new RaLanguageClient(
"rust-analyzer",
"Rust Analyzer Language Server",
serverOptions,