Created
August 28, 2018 18:15
-
-
Save anjmao/a4e7b1dc1ab67ee65fc9b5e7177e03bc to your computer and use it in GitHub Desktop.
lsp-lang-client-socket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let serverOptions = () => { | |
let socket = net.connect({port: 4389}); | |
let result = { | |
writer: socket, | |
reader: socket | |
}; | |
return Promise.resolve(result); | |
}; | |
const c = new LanguageClient('go-langserver', serverOptions, {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment