Skip to content

Commit cf35417

Browse files
Lint fix
1 parent ec9c663 commit cf35417

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CodeEdit/Features/LSP/LanguageClient+Formatting.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ extension LanguageServer {
4747

4848
func requestOnTypeFormatting(
4949
document documentURI: String,
50-
_ position: Position,
51-
character ch: String,
52-
withFormat formattingOptions: FormattingOptions
50+
_ position: Position,
51+
character char: String,
52+
withFormat formattingOptions: FormattingOptions
5353
) async -> FormattingResult {
5454
do {
5555
let params = DocumentOnTypeFormattingParams(
5656
textDocument: TextDocumentIdentifier(uri: documentURI),
5757
position: position,
58-
ch: ch,
58+
ch: char,
5959
options: formattingOptions
6060
)
6161
return try await lspInstance.onTypeFormatting(params)

0 commit comments

Comments
 (0)