This commit is contained in:
2026-05-23 11:27:05 +02:00
parent fa00b3a199
commit eb24767617
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ categories = ["compilers"]
mist-parser = { workspace = true }
mist-codegen = { workspace = true }
dashmap = "6.2.1"
dashmap = "6.1.0"
tokio = { version = "1.52.3", features = ["full", "macros", "rt", "rt-multi-thread"] }
tower-lsp = "0.20.0"
cargo_metadata = "0.23.1"
+4 -1
View File
@@ -205,7 +205,10 @@ impl LanguageServer for Backend {
let output = transpiler::transpile_text(&source).expect("Failed to transpile");
let position = output.find(inject).expect("Didn't find injection").saturating_sub(1);
let position = output
.find(inject)
.expect("Didn't find injection")
.saturating_sub(1);
self.client
.log_message(MessageType::INFO, format!("Found at {position}"))