Skip to content

Commit 44ca6b3

Browse files
author
Kapil Borle
committed
Fix DocumentFormattingParams request type
1 parent 2a83b0f commit 44ca6b3

File tree

1 file changed

+1
-1
lines changed
  • src/PowerShellEditorServices.Protocol/LanguageServer

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
1010
public class DocumentFormattingRequest
1111
{
1212
public static readonly
13-
RequestType<DocumentFormattingParams, TextEdit[], object,TextDocumentRegistrationOptions> Type = RequestType<DocumentFormattingParams, TextEdit[], object,TextDocumentRegistrationOptions>.Create("textDocument/definition");
13+
RequestType<DocumentFormattingParams, TextEdit[], object,TextDocumentRegistrationOptions> Type = RequestType<DocumentFormattingParams, TextEdit[], object,TextDocumentRegistrationOptions>.Create("textDocument/formatting");
1414
}
1515

1616
public class DocumentFormattingParams

0 commit comments

Comments
 (0)