Skip to content

Commit ebb6f03

Browse files
author
Kapil Borle
committed
Capitalize options property in FormattingOptions
1 parent 404b0ae commit ebb6f03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class DocumentRangeFormattingParams
4040
/// <summary>
4141
/// The format options.
4242
/// </summary>
43-
public FormattingOptions options { get; set; }
43+
public FormattingOptions Options { get; set; }
4444
}
4545

4646
public class DocumentOnTypeFormattingParams

src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ protected async Task HandleDocumentRangeFormattingRequest(
11801180
{
11811181
var result = await Format(
11821182
formattingParams.TextDocument.Uri,
1183-
formattingParams.options,
1183+
formattingParams.Options,
11841184
formattingParams.Range);
11851185

11861186
await requestContext.SendResult(new TextEdit[1]

0 commit comments

Comments
 (0)