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 49
49
50
50
# Remove this pin once a compatible version of Merlin has been released
51
51
- 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
53
53
54
54
- name : Build and install dependencies
55
55
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) =
14
14
let src = Document. source doc in
15
15
Compl. prefix_of_position ~short_path: false src pos
16
16
in
17
- if not (Typed_hole. can_be_hole prefix)
17
+ if not (Merlin_analysis. Typed_hole. can_be_hole prefix)
18
18
then None
19
19
else (
20
20
let structures =
@@ -25,7 +25,7 @@ let code_action pipeline doc (params : CodeActionParams.t) =
25
25
let pos = Mpipeline. get_lexing_pos pipeline pos in
26
26
Mbrowse. enclosing pos [ Mbrowse. of_typedtree typedtree ]
27
27
in
28
- if not (Typed_hole. is_a_hole structures)
28
+ if not (Merlin_analysis. Typed_hole. is_a_hole structures)
29
29
then None
30
30
else (
31
31
(* 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
315
315
let * item = completion_item_capability in
316
316
item.deprecatedSupport)
317
317
in
318
- if not (Typed_hole. can_be_hole prefix)
318
+ if not (Merlin_analysis. Typed_hole. can_be_hole prefix)
319
319
then Complete_by_prefix. complete merlin prefix pos ~resolve ~deprecated
320
320
else (
321
321
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