We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ed01e commit 989ceafCopy full SHA for 989ceaf
lang/rust/repo.go
@@ -86,7 +86,15 @@ next:
86
}
87
88
func GetDefaultLSP() (lang uniast.Language, name string) {
89
- return uniast.Rust, "rust-analyzer"
+ if _, err := exec.LookPath("rust-analyzer"); err == nil {
90
+ return uniast.Rust, "rust-analyzer"
91
+ }
92
+ name, err := InstallLanguageServer()
93
+ if err != nil {
94
+ log.Error("Failed to install rust-analyzer: %v\n", err)
95
+ os.Exit(1)
96
97
+ return uniast.Rust, name
98
99
100
func GetLastCommitTime(repo string) time.Time {
version.go
@@ -17,5 +17,5 @@
17
package main
18
19
const (
20
- Version = "0.2.0"
+ Version = "0.2.1"
21
)
0 commit comments