Skip to content

Commit

Permalink
Merge pull request #17 from disneystreaming/dfrancoeur/bump-language-…
Browse files Browse the repository at this point in the history
…client

Bump languageclient to 7.0.0 to support LSP 3.16.0
  • Loading branch information
daddykotex authored Jan 13, 2023
2 parents 4eddb14 + f5cf6e0 commit 222256f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
"dependencies": {
"follow-redirects": "^1.14.9",
"vscode-languageclient": "^6.1.4"
"vscode-languageclient": "^7.0.0"
},
"devDependencies": {
"@types/follow-redirects": "^1.14.1",
Expand Down
13 changes: 6 additions & 7 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import * as vscode from "vscode";

import {
CancellationToken,
LanguageClient,
LanguageClientOptions,
ParameterStructures,
RequestType,
TextDocumentIdentifier,
} from "vscode-languageclient";
import { LanguageClient } from "vscode-languageclient/node";
import { getCoursierExecutable } from "./coursier/coursier";
import { TextDecoder } from "util";

Expand Down Expand Up @@ -157,10 +158,8 @@ function createSmithyContentProvider(
}

export namespace ClassFileContentsRequest {
export const type = new RequestType<
TextDocumentIdentifier,
string,
void,
void
>("smithy/jarFileContents");
export const type = new RequestType<TextDocumentIdentifier, string, void>(
"smithy/jarFileContents",
ParameterStructures.auto
);
}
48 changes: 28 additions & 20 deletions yarn.lock

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

0 comments on commit 222256f

Please sign in to comment.