@elastic/ctags-langserver
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -16,4 +16,12 @@ "use strict"; | ||
const lsp_protocol_edefinition_proposed_1 = require("./lsp-protocol.edefinition.proposed"); | ||
const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol"); | ||
function createLspConnection(options) { | ||
const connection = lsp.createConnection(); | ||
let connection; | ||
if (options.socketPort !== undefined) { | ||
const [reader, writer] = vscode_languageserver_protocol_1.createServerSocketTransport(this.port); | ||
connection = lsp.createConnection(reader, writer); | ||
} | ||
else { | ||
connection = lsp.createConnection(); | ||
} | ||
const lspClient = new lsp_client_1.LspClientImpl(connection); | ||
@@ -20,0 +28,0 @@ const logger = new logger_1.LspClientLogger(lspClient, options.showMessageLevel); |
{ | ||
"name": "@elastic/ctags-langserver", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "An all-languages language server built on top of ctags", | ||
@@ -5,0 +5,0 @@ "author": "Elastic", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15003456
34
1056