diff --git a/CHANGELOG.md b/CHANGELOG.md index fe9e6cc..1289ac2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ # Change Log ## 0.9.20 +- Fix issue where the server would internally format URIs incorrectly in some cases - The language server logs will now be in local time of whatever machine they are running on, rather than UTC. ## 0.9.19 diff --git a/src/lsp_data.rs b/src/lsp_data.rs index eaa9290..758e995 100644 --- a/src/lsp_data.rs +++ b/src/lsp_data.rs @@ -100,7 +100,7 @@ pub fn parse_uri(pathb: &str) -> Result { "" }; - let to_parse = format!("file:{}{}", extra_slash, fixed_path); + let to_parse = format!("file://{}{}", extra_slash, fixed_path); Uri::from_str(to_parse.as_str()) .map_err(|e|UriGenerationError( format!("Invalid URI '{}'; {}", to_parse, e)))