ocaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

correctly associate source path information in lsp

+6 -1
+6 -1
lib/compiler/Phases.ml
··· 138 138 | Some (Document _) -> assert false 139 139 | Some (Parsed _) | Some (Resource _) -> assert false 140 140 | Some (Expanded expanded) -> 141 + let source_path = 142 + if forest.dev then 143 + URI.Tbl.find_opt forest.resolver uri 144 + else None 145 + in 141 146 (* NOTE: Not running jobs. *) 142 147 let Eval.{articles; jobs = _}, diagnostics = 143 148 Eval.eval_tree 144 149 ~config: forest.config 145 - ~source_path: None 150 + ~source_path 146 151 ~uri 147 152 expanded.nodes 148 153 in