Skip to content

Commit daecda9

Browse files
committed
minor refactor
Signed-off-by: Pedro Castro <aspeddro@gmail.com>
1 parent 920e0f8 commit daecda9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎lsp/lsp.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ The main objective is to first maintain resource parity with the current server
117117
- [x] `rescript/switchImplementationInterface`: Trigged by a code action
118118
- Only avaliable if client support `window/showDocument` request
119119
- [x] `rescript/dumpCmt`: Dump cmt file content
120-
- [ ] `rescript/dumpParseTree`
120+
- [ ] `rescript/dumpParseTree` **It will not be implemented for now.**
121121
- Dump parsed tree
122-
- [ ] `rescrit/dumpTypedTree`
122+
- [ ] `rescrit/dumpTypedTree` **It will not be implemented for now.**
123123
- Dump typed tree
124124
- Flow to execute a command:
125125
- ```

‎lsp/src/diagnostics.ml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ let update_from_compiler_log ~workspace_root ~doc_store compiler_log t =
210210

211211
let collect_diagnostics_from_log_using_source_dirs workspace_root fs =
212212
let ( /+ ) = Filename.concat in
213-
let workspace_root_path = workspace_root |> Lsp.Types.DocumentUri.to_path in
213+
let workspace_root_path = workspace_root |> Uri.to_path in
214214
let path =
215215
workspace_root_path /+ Constants.compiler_dir_partial_path
216216
/+ Constants.sources_dirs

0 commit comments

Comments
 (0)