File tree Expand file tree Collapse file tree 5 files changed +4
-40
lines changed Expand file tree Collapse file tree 5 files changed +4
-40
lines changed Original file line number Diff line number Diff line change 4949
5050 # Remove this pin once a compatible version of Merlin has been released
5151 - name : Pin dev Merlin
52- run : opam --cli=2.1 pin --with-version=5.4-503 https://github.com/ocaml /merlin.git#main
52+ run : opam --cli=2.1 pin --with-version=5.4-503 https://github.com/liam923 /merlin.git#rename-holes
5353
5454 - name : Build and install dependencies
5555 run : opam install .
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ let code_action pipeline doc (params : CodeActionParams.t) =
1414 let src = Document. source doc in
1515 Compl. prefix_of_position ~short_path: false src pos
1616 in
17- if not (Typed_hole. can_be_hole prefix)
17+ if not (Merlin_analysis. Typed_hole. can_be_hole prefix)
1818 then None
1919 else (
2020 let structures =
@@ -25,7 +25,7 @@ let code_action pipeline doc (params : CodeActionParams.t) =
2525 let pos = Mpipeline. get_lexing_pos pipeline pos in
2626 Mbrowse. enclosing pos [ Mbrowse. of_typedtree typedtree ]
2727 in
28- if not (Typed_hole. is_a_hole structures)
28+ if not (Merlin_analysis. Typed_hole. is_a_hole structures)
2929 then None
3030 else (
3131 (* ocaml-lsp can provide [Construct] values as completion entries, so
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ let complete
315315 let * item = completion_item_capability in
316316 item.deprecatedSupport)
317317 in
318- if not (Typed_hole. can_be_hole prefix)
318+ if not (Merlin_analysis. Typed_hole. can_be_hole prefix)
319319 then Complete_by_prefix. complete merlin prefix pos ~resolve ~deprecated
320320 else (
321321 let reindex_sortText completion_items =
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments