Skip to content

Commit

Permalink
remove duneContexts, handled in vscode-ocaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed May 3, 2024
1 parent afbf1ba commit 9ada875
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 90 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- Support folding of `ifthenelse` expressions (#1031)

- Add `duneContexts` method and `--context` flag (#1238)
- Add `--context` flag (#1238)

## Fixes

Expand Down
26 changes: 0 additions & 26 deletions ocaml-lsp-server/docs/ocamllsp/duneContexts-spec.md

This file was deleted.

49 changes: 0 additions & 49 deletions ocaml-lsp-server/src/custom_requests/req_dune_contexts.ml

This file was deleted.

7 changes: 0 additions & 7 deletions ocaml-lsp-server/src/custom_requests/req_dune_contexts.mli

This file was deleted.

5 changes: 0 additions & 5 deletions ocaml-lsp-server/src/ocaml_lsp_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ let initialize_info (client_capabilities : ClientCapabilities.t) :
; Req_wrapping_ast_node.capability
; Dune.view_promotion_capability
; Req_hover_extended.capability
; Req_dune_contexts.capability
] )
]
in
Expand Down Expand Up @@ -511,10 +510,6 @@ let on_request :
, Semantic_highlighting.Debug.on_request_full )
; ( Req_hover_extended.meth
, fun ~params _ -> Req_hover_extended.on_request ~params rpc )
; ( Req_dune_contexts.meth
, fun ~params:_ _ ->
Fiber.of_thunk (fun () ->
Fiber.return (Req_dune_contexts.on_request ())) )
]
|> List.assoc_opt meth
with
Expand Down
3 changes: 1 addition & 2 deletions ocaml-lsp-server/test/e2e-new/start_stop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ let%expect_test "start/stop" =
"handleTypedHoles": true,
"handleWrappingAstNode": true,
"diagnostic_promotions": true,
"handleHoverExtended": true,
"handleDuneContexts": true
"handleHoverExtended": true
}
},
"foldingRangeProvider": true,
Expand Down

0 comments on commit 9ada875

Please sign in to comment.