summaryrefslogtreecommitdiffhomepage
path: root/js/src/lsp/client.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-29 11:58:40 -0400
committerDax Raad <[email protected]>2025-05-29 11:58:40 -0400
commit80597cd3fdf149cef87db55f03a3cc0bfd723a7a (patch)
treeb9332733cca2084a86334eb88fdc5115ab37b922 /js/src/lsp/client.ts
parent48f81fe4d3a286ead827888e030f9bd89c864dee (diff)
downloadopencode-80597cd3fdf149cef87db55f03a3cc0bfd723a7a.tar.gz
opencode-80597cd3fdf149cef87db55f03a3cc0bfd723a7a.zip
type error fix
Diffstat (limited to 'js/src/lsp/client.ts')
-rw-r--r--js/src/lsp/client.ts3
1 files changed, 1 insertions, 2 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;