From 80597cd3fdf149cef87db55f03a3cc0bfd723a7a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 May 2025 11:58:40 -0400 Subject: type error fix --- js/src/lsp/client.ts | 3 +-- js/src/lsp/index.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'js/src/lsp') 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(); return { -- cgit v1.2.3