about summary refs log tree commit diff
path: root/editors/code/src/client.ts
diff options
context:
space:
mode:
authorjprochazk <1665677+jprochazk@users.noreply.github.com>2023-10-28 16:34:00 +0200
committerjprochazk <1665677+jprochazk@users.noreply.github.com>2023-10-28 16:34:00 +0200
commit3e4de963a2f932a4591b037e6b5933ac5903b7e3 (patch)
tree593c6b4c08ff00f05da5c1fd8e87fe66fed2d74d /editors/code/src/client.ts
parentf493207744da98b31295b02e6ed95b26a927056c (diff)
downloadrust-3e4de963a2f932a4591b037e6b5933ac5903b7e3.tar.gz
rust-3e4de963a2f932a4591b037e6b5933ac5903b7e3.zip
override language client
Diffstat (limited to 'editors/code/src/client.ts')
-rw-r--r--editors/code/src/client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts
index 96e888402ba..ed7066a1b7b 100644
--- a/editors/code/src/client.ts
+++ b/editors/code/src/client.ts
@@ -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,