diff --git a/scip_indexer/SCIPIndexer.cc b/scip_indexer/SCIPIndexer.cc index 17abc689c..57bb384f2 100644 --- a/scip_indexer/SCIPIndexer.cc +++ b/scip_indexer/SCIPIndexer.cc @@ -1275,7 +1275,7 @@ class SCIPSemanticExtension : public SemanticExtension { // NOTE: We are not respecting the path prefix option here. Should we do that? // FIXME(varun): filesystem::current_path() returns the path in 'native' format, // so this won't work on Windows. - metadata.set_project_root("file:/" + filesystem::current_path().string()); + metadata.set_project_root("file://" + filesystem::current_path().string()); metadata.set_text_document_encoding(scip::TextEncoding::UTF8); vector allStates;