From dd223d89097cca1f1fdbd5f15445d28db1be8f4d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 14 Dec 2018 18:49:59 +0100 Subject: [PATCH] Minor changes for the client --- Client/out/extension.js | 3 +-- Client/out/extension.js.map | 2 +- Client/src/extension.ts | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Client/out/extension.js b/Client/out/extension.js index 251e2c5..52be695 100644 --- a/Client/out/extension.js +++ b/Client/out/extension.js @@ -43,7 +43,7 @@ function activateLanguageServer(context) { }; // Options to control the language client let clientOptions = { - // Register the server for plain text documents + // Register the server for Upsilon documents documentSelector: [ { language: "upsilon", @@ -51,7 +51,6 @@ function activateLanguageServer(context) { } ], synchronize: { - // Synchronize the setting section 'languageServerExample' to the server configurationSection: "upsilonLanguageServer", // Notify the server about file changes to '.clientrc files contain in the workspace fileEvents: [ diff --git a/Client/out/extension.js.map b/Client/out/extension.js.map index e9c6d2e..6963a17 100644 --- a/Client/out/extension.js.map +++ b/Client/out/extension.js.map @@ -1 +1 @@ -{"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,6DAA6D;AAC7D,8EAA8E;AAE9E,iCAAiC;AACjC,wDAAwD;AACxD,6BAA6B;AAC7B,yBAAyB;AAEzB,mEAAmE;AACnE,MAAM,mBAAmB,GAAG;IAC1B,oCAAoC;IACpC,kGAAkG;CACnG,CAAC;AAEF,SAAS,sBAAsB,CAAC,OAAgC;IAC9D,0DAA0D;IAC1D,IAAI,YAAY,GAAW,IAAI,CAAC;IAChC,KAAK,IAAI,CAAC,IAAI,mBAAmB,EAAE;QACjC,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;QAC9B,kBAAkB;QAClB,IAAI,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;YACpB,YAAY,GAAG,CAAC,CAAC;YACjB,MAAM;SACP;KACF;IACD,IAAI,CAAC,YA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AAC;AAClC,CAAC;AAHD,4BAGC;AAED,2DAA2D;AAC3D,SAAgB,UAAU,KAAI,CAAC;AAA/B,gCAA+B"} \ No newline at end of file diff --git a/Client/src/extension.ts b/Client/src/extension.ts index e743ece..fe2d327 100644 --- a/Client/src/extension.ts +++ b/Client/src/extension.ts @@ -46,7 +46,7 @@ function activateLanguageServer(context: vscode.ExtensionContext) { }; // Options to control the language client let clientOptions: languageClient.LanguageClientOptions = { - // Register the server for plain text documents + // Register the server for Upsilon documents documentSelector: [ { language: "upsilon", @@ -54,7 +54,6 @@ function activateLanguageServer(context: vscode.ExtensionContext) { } ], synchronize: { - // Synchronize the setting section 'languageServerExample' to the server configurationSection: "upsilonLanguageServer", // Notify the server about file changes to '.clientrc files contain in the workspace fileEvents: [