We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9c663 commit cf35417Copy full SHA for cf35417
CodeEdit/Features/LSP/LanguageClient+Formatting.swift
@@ -47,15 +47,15 @@ extension LanguageServer {
47
48
func requestOnTypeFormatting(
49
document documentURI: String,
50
- _ position: Position,
51
- character ch: String,
52
- withFormat formattingOptions: FormattingOptions
+ _ position: Position,
+ character char: String,
+ withFormat formattingOptions: FormattingOptions
53
) async -> FormattingResult {
54
do {
55
let params = DocumentOnTypeFormattingParams(
56
textDocument: TextDocumentIdentifier(uri: documentURI),
57
position: position,
58
- ch: ch,
+ ch: char,
59
options: formattingOptions
60
)
61
return try await lspInstance.onTypeFormatting(params)
0 commit comments