Skip to content

Commit

Permalink
chore: send client name with initialization request (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel authored Jun 25, 2024
1 parent 6de0cd6 commit b4b622d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion client/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit b4b622d

Please sign in to comment.