Rust analyzer init

This commit is contained in:
2026-05-23 14:55:44 +02:00
parent 763473ef57
commit ff58a92b3f
4 changed files with 135 additions and 1 deletions
+4
View File
@@ -1,4 +1,5 @@
pub mod builder;
pub mod rust_analyzer;
pub mod transpiler;
use std::collections::HashMap;
@@ -72,6 +73,9 @@ impl LanguageServer for Backend {
tokio::spawn(async move {
if let Some(root) = &*workspace_folder.lock().await {
transpiler::build(root);
rust_analyzer::initialize(root)
.await
.expect("Failed to initialize rust analyzer");
}
});