summaryrefslogtreecommitdiffhomepage
path: root/js/src/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/lsp')
-rw-r--r--js/src/lsp/client.ts3
-rw-r--r--js/src/lsp/index.ts3
2 files changed, 3 insertions, 3 deletions
diff --git a/js/src/lsp/client.ts b/js/src/lsp/client.ts
index cb8bdad2d..82caa82a2 100644
--- a/js/src/lsp/client.ts
+++ b/js/src/lsp/client.ts
@@ -6,7 +6,7 @@ import {
StreamMessageWriter,
} from "vscode-jsonrpc/node";
import type { Diagnostic as VSCodeDiagnostic } from "vscode-languageserver-types";
-import { App } from "../app";
+import { App } from "../app/app";
import { Log } from "../util/log";
import { LANGUAGE_EXTENSIONS } from "./language";
import { Bus } from "../bus";
@@ -31,7 +31,6 @@ export namespace LSPClient {
export async function create(input: { cmd: string[]; serverID: string }) {
log.info("starting client", input);
- let version = 0;
const app = await App.use();
const [command, ...args] = input.cmd;
diff --git a/js/src/lsp/index.ts b/js/src/lsp/index.ts
index ee5a8b2d7..e3344a934 100644
--- a/js/src/lsp/index.ts
+++ b/js/src/lsp/index.ts
@@ -1,4 +1,4 @@
-import { App } from "../app";
+import { App } from "../app/app";
import { Log } from "../util/log";
import { LSPClient } from "./client";
import path from "path";
@@ -9,6 +9,7 @@ export namespace LSP {
const state = App.state(
"lsp",
async () => {
+ log.info("initializing");
const clients = new Map<string, LSPClient.Info>();
return {