File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1072,7 +1072,9 @@ class SCIPSemanticExtension : public SemanticExtension {
1072
1072
scip::Metadata metadata;
1073
1073
metadata.set_version (scip::UnspecifiedProtocolVersion);
1074
1074
*metadata.mutable_tool_info () = toolInfo;
1075
- metadata.set_project_root (" file://Users/varun/Code/scip-ruby" ); // FIXME(varun): Remove hard-coded string
1075
+ // NOTE: We are not respecting the path prefix option here. Should we do that?
1076
+ // FIXME: filesystem::current_path() returns the path in 'native' format, so this won't work on Windows.
1077
+ metadata.set_project_root (" file:/" + filesystem::current_path ().string ());
1076
1078
metadata.set_text_document_encoding (scip::TextEncoding::UTF8);
1077
1079
1078
1080
vector<SCIPState> allStates;
You can’t perform that action at this time.
0 commit comments