Skip to content

Commit 16dd1b0

Browse files
fix: Properly set project_root prefix (#474)
It should be `file://` not `file:/`
1 parent b7ecba1 commit 16dd1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indexer/Driver.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ class Driver {
10461046
scip::Metadata metadata;
10471047
auto projectRootUnixStyle = llvm::sys::path::convert_to_slash(
10481048
this->options.projectRootPath.asRef().asStringView());
1049-
metadata.set_project_root("file:/" + projectRootUnixStyle);
1049+
metadata.set_project_root("file://" + projectRootUnixStyle);
10501050
metadata.set_version(scip::UnspecifiedProtocolVersion);
10511051
metadata.set_text_document_encoding(scip::TextEncoding::UTF8);
10521052
*metadata.mutable_tool_info() = std::move(toolInfo);

0 commit comments

Comments
 (0)