fix: use method instead of type for LSPProgress
MODIFY
internal/core/server/lsp/LSPProgress.ts
internal/core/server/lsp/LSPProgress.ts
@@ -23,7 +23,7 @@ export default class LSPProgress extends ReporterProgressBase {
this.lastRenderKey = "";
transport.write({
- type: "$/progress",
+ method: "$/progress",
params: {
token: this.token,
value: {
@@ -52,7 +52,7 @@ export default class LSPProgress extends ReporterProgressBase {
this.lastRenderKey = renderKey;
this.transport.write({
- type: "$/progress",
+ method: "$/progress",
params: {
token: this.token,
value: {
@@ -69,7 +69,7 @@ export default class LSPProgress extends ReporterProgressBase {
public end() {
this.transport.write({
- type: "$/progress",
+ method: "$/progress",
params: {
token: this.token,
value: {

fix: use method instead of type for LSPProgress (#1409)