[add] connection state
This commit is contained in:
parent
b7d0d8e03d
commit
e32ff3d77a
8 changed files with 81 additions and 28 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue