From b4b622d0daa0a54edd5e5c46e6c6d91cf5d9b97a Mon Sep 17 00:00:00 2001 From: Sophie Dankel <47993817+sdankel@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:32:50 -0700 Subject: [PATCH] chore: send client name with initialization request (#187) --- client/src/main.ts | 5 ++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/main.ts b/client/src/main.ts index 4b8e336..98c01fc 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -155,7 +155,10 @@ function getClientOptions(): lc.LanguageClientOptions { workspace.createFileSystemWatcher('**/*.sw'), ], }, - initializationOptions: workspace.getConfiguration(EXTENSION_ROOT), + initializationOptions: { + ...workspace.getConfiguration(EXTENSION_ROOT), + client: 'vscode', + }, markdown: { isTrusted: true, supportHtml: true, diff --git a/package-lock.json b/package-lock.json index 1299d99..a1b6a09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sway-vscode-plugin", - "version": "0.3.4", + "version": "0.3.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sway-vscode-plugin", - "version": "0.3.4", + "version": "0.3.5", "license": "Apache-2.0", "dependencies": { "@hpcc-js/wasm": "^2.13.0", diff --git a/package.json b/package.json index a2b23b4..ee0b491 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Sway", "description": "Sway language extension for Visual Studio Code", "icon": "images/logo.png", - "version": "0.3.4", + "version": "0.3.5", "publisher": "FuelLabs", "license": "Apache-2.0", "repository": {