@@ -15,7 +15,7 @@ export async function bootstrap(
1515 if ( ! path ) {
1616 throw new Error (
1717 "rust-analyzer Language Server is not available. " +
18- "Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation)." ,
18+ "Please, ensure its [proper installation](https://rust-analyzer.github.io/manual.html#installation)." ,
1919 ) ;
2020 }
2121
@@ -103,11 +103,11 @@ async function getServer(
103103
104104 await vscode . window . showErrorMessage (
105105 "Unfortunately we don't ship binaries for your platform yet. " +
106- "You need to manually clone the rust-analyzer repository and " +
107- "run `cargo xtask install --server` to build the language server from sources. " +
108- "If you feel that your platform should be supported, please create an issue " +
109- "about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
110- "will consider it." ,
106+ "You need to manually clone the rust-analyzer repository and " +
107+ "run `cargo xtask install --server` to build the language server from sources. " +
108+ "If you feel that your platform should be supported, please create an issue " +
109+ "about that [here](https://github.com/rust-lang/rust-analyzer/issues) and we " +
110+ "will consider it." ,
111111 ) ;
112112 return undefined ;
113113}
@@ -153,7 +153,6 @@ function orderFromPath(
153153 path : string ,
154154 raVersionResolver : ( path : string ) => string | undefined ,
155155) : string {
156- // It is a semver, so we must resolve Rust Analyzer's version.
157156 const raVersion = raVersionResolver ( path ) ;
158157 const raDate = raVersion ?. match ( / ^ r u s t - a n a l y z e r .* \( .* ( \d { 4 } - \d { 2 } - \d { 2 } ) \) $ / ) ;
159158 if ( raDate ?. length === 2 ) {
0 commit comments