[add] connection state

This commit is contained in:
Andy Bunce 2025-08-22 15:22:31 +01:00
parent b7d0d8e03d
commit e32ff3d77a
8 changed files with 81 additions and 28 deletions

View file

@ -12,7 +12,7 @@ import { LSPClient, LSPPlugin, languageServerSupport } from "@codemirror/lsp-cli
// Language
import { xml } from "@codemirror/lang-xml";
// no error checking
// return promise with socket map or reject if no connect
function simpleWebSocketTransport(uri) {
let handlers = [];
return new Promise(function (resolve, reject) {