@@ -91,10 +91,9 @@ module Server =
9191 use jsonRpc =
9292 { new JsonRpc( jsonRpcHandler) with
9393 member this.IsFatalException ( ex : Exception ) =
94- match ex with
95- | : ? LocalRpcException -> false
96- | _ -> true
97- }
94+ match ex with
95+ | : ? LocalRpcException -> false
96+ | _ -> true }
9897
9998 /// When the server wants to send a notification to the client
10099 let sendServerNotification ( rpcMethod : string ) ( notificationObj : obj ) : AsyncLspResult < unit > =
@@ -198,18 +197,18 @@ module Server =
198197 " completionItem/resolve" , requestHandling ( fun s p -> s.CompletionItemResolve( p))
199198 " textDocument/rename" , requestHandling ( fun s p -> s.TextDocumentRename( p))
200199 " textDocument/prepareRename" , requestHandling ( fun s p -> s.TextDocumentPrepareRename( p))
201- " textDocument/definition" , requestHandling ( fun s p -> s.TextDocumentDefinition ( p))
200+ " textDocument/definition" , requestHandling ( fun s p -> s.`` textDocument/definition `` ( p))
202201 " textDocument/typeDefinition" , requestHandling ( fun s p -> s.TextDocumentTypeDefinition( p))
203202 " textDocument/implementation" , requestHandling ( fun s p -> s.TextDocumentImplementation( p))
204203 " textDocument/codeAction" , requestHandling ( fun s p -> s.TextDocumentCodeAction( p))
205204 " codeAction/resolve" , requestHandling ( fun s p -> s.CodeActionResolve( p))
206205 " textDocument/codeLens" , requestHandling ( fun s p -> s.TextDocumentCodeLens( p))
207206 " codeLens/resolve" , requestHandling ( fun s p -> s.CodeLensResolve( p))
208- " textDocument/references" , requestHandling ( fun s p -> s.TextDocumentReferences ( p))
209- " textDocument/documentHighlight" , requestHandling ( fun s p -> s.TextDocumentDocumentHighlight ( p))
210- " textDocument/documentLink" , requestHandling ( fun s p -> s.TextDocumentDocumentLink ( p))
207+ " textDocument/references" , requestHandling ( fun s p -> s.`` textDocument/references `` ( p))
208+ " textDocument/documentHighlight" , requestHandling ( fun s p -> s.`` textDocument/documentHighlight `` ( p))
209+ " textDocument/documentLink" , requestHandling ( fun s p -> s.`` textDocument/documentLink `` ( p))
211210 " textDocument/signatureHelp" , requestHandling ( fun s p -> s.TextDocumentSignatureHelp( p))
212- " documentLink/resolve" , requestHandling ( fun s p -> s.DocumentLinkResolve ( p))
211+ " documentLink/resolve" , requestHandling ( fun s p -> s.`` documentLink/resolve `` ( p))
213212 " textDocument/documentColor" , requestHandling ( fun s p -> s.TextDocumentDocumentColor( p))
214213 " textDocument/colorPresentation" , requestHandling ( fun s p -> s.TextDocumentColorPresentation( p))
215214 " textDocument/formatting" , requestHandling ( fun s p -> s.TextDocumentFormatting( p))
0 commit comments