From 01eee4649683d7e9db20a3c9f266b22c4985e5c2 Mon Sep 17 00:00:00 2001 From: Jerome Luckenbach Date: Wed, 9 Oct 2019 18:10:44 +0200 Subject: [PATCH] Fix https lsp problems (#139) Signed-off-by: Jerome Luckenbach --- client/src/LanguageClient/RemoteLanguageClientProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/LanguageClient/RemoteLanguageClientProvider.ts b/client/src/LanguageClient/RemoteLanguageClientProvider.ts index 2e84387..e5964c5 100644 --- a/client/src/LanguageClient/RemoteLanguageClientProvider.ts +++ b/client/src/LanguageClient/RemoteLanguageClientProvider.ts @@ -17,8 +17,9 @@ export class RemoteLanguageClientProvider { public connect(): Disposable { let config = workspace.getConfiguration('openhab') + let host = config.host.includes('://') ? config.host.split('://')[1] : config.host let connectionInfo = { - host: config.host, + host: host, port: config.remoteLspPort }