idk
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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}"))
|
||||
|
||||
Reference in New Issue
Block a user