@@ -21,7 +21,7 @@ let dump files =
21
21
Shared. cacheTypeToString := true ;
22
22
files
23
23
|> List. iter (fun path ->
24
- let uri = Uri2. fromLocalPath path in
24
+ let uri = Uri2. fromPath path in
25
25
let result =
26
26
match ProcessCmt. getFullFromCmt ~uri with
27
27
| None -> " []"
@@ -30,7 +30,7 @@ let dump files =
30
30
print_endline result)
31
31
32
32
let completion ~path ~line ~col ~currentFile =
33
- let uri = Uri2. fromLocalPath path in
33
+ let uri = Uri2. fromPath path in
34
34
let result =
35
35
match ProcessCmt. getFullFromCmt ~uri with
36
36
| None -> " []"
@@ -43,7 +43,7 @@ let completion ~path ~line ~col ~currentFile =
43
43
print_endline result
44
44
45
45
let hover ~path ~line ~col =
46
- let uri = Uri2. fromLocalPath path in
46
+ let uri = Uri2. fromPath path in
47
47
let result =
48
48
match ProcessCmt. getFullFromCmt ~uri with
49
49
| None -> Protocol. null
@@ -79,7 +79,7 @@ let hover ~path ~line ~col =
79
79
print_endline result
80
80
81
81
let definition ~path ~line ~col =
82
- let uri = Uri2. fromLocalPath path in
82
+ let uri = Uri2. fromPath path in
83
83
let result =
84
84
match ProcessCmt. getFullFromCmt ~uri with
85
85
| None -> Protocol. null
@@ -114,7 +114,7 @@ let definition ~path ~line ~col =
114
114
print_endline result
115
115
116
116
let references ~path ~line ~col =
117
- let uri = Uri2. fromLocalPath path in
117
+ let uri = Uri2. fromPath path in
118
118
let result =
119
119
match ProcessCmt. getFullFromCmt ~uri with
120
120
| None -> Protocol. null
@@ -143,7 +143,7 @@ let references ~path ~line ~col =
143
143
print_endline result
144
144
145
145
let documentSymbol ~path =
146
- let uri = Uri2. fromLocalPath path in
146
+ let uri = Uri2. fromPath path in
147
147
match ProcessCmt. getFullFromCmt ~uri with
148
148
| None -> print_endline Protocol. null
149
149
| Some {file} ->
0 commit comments