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
+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}"))