@@ -15,7 +15,7 @@ export async function bootstrap(
15
15
if ( ! path ) {
16
16
throw new Error (
17
17
"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)." ,
19
19
) ;
20
20
}
21
21
@@ -103,11 +103,11 @@ async function getServer(
103
103
104
104
await vscode . window . showErrorMessage (
105
105
"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." ,
111
111
) ;
112
112
return undefined ;
113
113
}
@@ -153,7 +153,6 @@ function orderFromPath(
153
153
path : string ,
154
154
raVersionResolver : ( path : string ) => string | undefined ,
155
155
) : string {
156
- // It is a semver, so we must resolve Rust Analyzer's version.
157
156
const raVersion = raVersionResolver ( path ) ;
158
157
const raDate = raVersion ?. match ( / ^ r u s t - a n a l y z e r .* \( .* ( \d { 4 } - \d { 2 } - \d { 2 } ) \) $ / ) ;
159
158
if ( raDate ?. length === 2 ) {
0 commit comments