freebsd-ports/devel/ocaml-linol/files/patch-src_server.ml
Benjamin Jacobs d9c44a62ac math/alt-ergo: Update to 2.5.4, many new ports
Replace GNU configure to dune builds system.
Add do-test target.
Submitter takes maintainership.
Update WWW.
Switch to DISTVERSION.

The last update of alt-ergo in ports tree was about 10 years ago, the newest
version requires many new libraries in ports tree.
New ports:
  devel/ocaml-dolmen
  devel/ocaml-gen
  devel/ocaml-hmap
  devel/ocaml-linol
  devel/ocaml-lsp
  devel/ocaml-octavius
  devel/ocaml-pp_loc
  devel/ocaml-ppx_blob
  devel/ocaml-ppx_compare
  devel/ocaml-ppx_deriving
  devel/ocaml-ppx_hash
  devel/ocaml-ppx_js_style
  devel/ocaml-ppx_yojson_conv
  devel/ocaml-ppx_yojson_conv_lib
  devel/ocaml-psmt2-frontend
  devel/ocaml-trace
  math/ocaml-farith
  math/ocaml-ocplib-simplex
  textproc/ocaml-spelll

PR:		279337
2024-10-08 14:56:48 +02:00

35 lines
1.8 KiB
OCaml

--- src/server.ml.orig 2024-05-29 17:37:32 UTC
+++ src/server.ml
@@ -496,7 +496,18 @@ module Make (IO : IO) = struct
| Lsp.Client_request.CallHierarchyOutgoingCalls _
| Lsp.Client_request.WillCreateFiles _
| Lsp.Client_request.WillDeleteFiles _
- | Lsp.Client_request.WillRenameFiles _ ->
+ | Lsp.Client_request.WillRenameFiles _
+ | Lsp.Client_request.InlayHintResolve _
+ | Lsp.Client_request.TextDocumentDiagnostic _
+ | Lsp.Client_request.TextDocumentInlineCompletion _
+ | Lsp.Client_request.TextDocumentInlineValue _
+ | Lsp.Client_request.TextDocumentPrepareTypeHierarchy _
+ | Lsp.Client_request.TextDocumentRangesFormatting _
+ | Lsp.Client_request.WorkspaceSymbolResolve _
+ | Lsp.Client_request.WorkspaceDiagnostic _
+ | Lsp.Client_request.TypeHierarchySubtypes _
+ | Lsp.Client_request.TypeHierarchySupertypes _
+ ->
let notify_back =
new notify_back
~workDoneToken:None ~partialResultToken:None ~notify_back
@@ -666,7 +677,11 @@ module Make (IO : IO) = struct
| Lsp.Client_notification.DidCreateFiles _
| Lsp.Client_notification.DidDeleteFiles _
| Lsp.Client_notification.WorkDoneProgress _
- | Lsp.Client_notification.DidRenameFiles _ ->
+ | Lsp.Client_notification.DidRenameFiles _
+ | Lsp.Client_notification.NotebookDocumentDidOpen _
+ | Lsp.Client_notification.NotebookDocumentDidChange _
+ | Lsp.Client_notification.NotebookDocumentDidSave _
+ | Lsp.Client_notification.NotebookDocumentDidClose _ ->
let notify_back =
new notify_back
~workDoneToken:None ~partialResultToken:None ~notify_back