@@ -80,7 +80,7 @@ extension LSPDocumentService: DocumentService {
8080 let params = DidChangeTextDocumentParams ( textDocument: versionedId,
8181 contentChanges: events)
8282
83- try await serverHostInterface. server. textDocumentDidChange ( params: params )
83+ try await serverHostInterface. server. textDocumentDidChange ( params)
8484 }
8585
8686 func didApplyChange( _ change: CombinedTextChange ) throws {
@@ -119,7 +119,7 @@ extension LSPDocumentService: DocumentService {
119119 serverHostInterface. enqueue ( barrier: true ) { server, _, _ in
120120 let params = WillSaveTextDocumentParams ( textDocument: id, reason: . manual)
121121
122- try await server. textDocumentWillSave ( params: params )
122+ try await server. textDocumentWillSave ( params)
123123 }
124124 }
125125
@@ -146,7 +146,7 @@ extension LSPDocumentService: CompletionService {
146146 let params = CompletionParams ( textDocument: textDocId, position: lspPosition, context: lspContext)
147147
148148 do {
149- let response = try await server. completion ( params: params )
149+ let response = try await server. completion ( params)
150150
151151
152152 let fallbackRange = TextRange . range ( NSRange ( location: location, length: 0 ) )
@@ -179,7 +179,7 @@ extension LSPDocumentService: FormattingService {
179179 insertSpaces: configuration. indentIsSoft)
180180 let params = DocumentFormattingParams ( textDocument: textDocId, options: options)
181181
182- let response = try await server. formatting ( params: params )
182+ let response = try await server. formatting ( params)
183183
184184 let transformer = transformers. textEditsTransformer
185185
@@ -212,7 +212,7 @@ extension LSPDocumentService: FormattingService {
212212 end: Position ( line: 1 , character: 0 ) )
213213 let params = CodeActionParams ( textDocument: textDocId, range: range, context: context)
214214
215- let response = try await server. codeAction ( params: params )
215+ let response = try await server. codeAction ( params)
216216
217217 return transformers. organizeImportsTransformer ( uri, response)
218218 }
@@ -225,7 +225,7 @@ extension LSPDocumentService: SemanticDetailsService {
225225 let textDocId = try context. textDocumentIdentifier
226226 let params = TextDocumentPositionParams ( textDocument: textDocId, position: position. lspPosition)
227227
228- let response = try await server. hover ( params: params )
228+ let response = try await server. hover ( params)
229229
230230 return transformers. hoverTransformer ( position, response)
231231 }
@@ -238,7 +238,7 @@ extension LSPDocumentService: DefinitionService {
238238 let textDocId = try context. textDocumentIdentifier
239239 let params = TextDocumentPositionParams ( textDocument: textDocId, position: position. lspPosition)
240240
241- let definition = try await server. definition ( params: params )
241+ let definition = try await server. definition ( params)
242242
243243 return transformers. definitionTransformer ( definition)
244244 }
@@ -257,13 +257,13 @@ extension LSPDocumentService: TokenService {
257257 if deltas, let lastId = lastResultId {
258258 let params = SemanticTokensDeltaParams ( textDocument: id, previousResultId: lastId)
259259
260- return try await server. semanticTokensFullDelta ( params: params )
260+ return try await server. semanticTokensFullDelta ( params)
261261 }
262262
263263 let params = SemanticTokensParams ( textDocument: id)
264264
265265 // translate into a delta response
266- return try await server. semanticTokensFull ( params: params ) . map { . optionA( $0) }
266+ return try await server. semanticTokensFull ( params) . map { . optionA( $0) }
267267 }
268268
269269 func tokens( in range: CombinedTextRange ) async throws -> [ ChimeExtensionInterface . Token ] {
0 commit comments