Skip to content

Commit 39893ba

Browse files
committed
Only log one line of error on unknown go to
This prevents neovim locking up weirdly.
1 parent 6accd08 commit 39893ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pool.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ impl Connection {
8484
} else {
8585
go_to_definition_server.err_writeln("Location unknown");
8686
},
87-
Ok(Response::Err(msg)) => go_to_definition_server
88-
.err_writeln(&format!("Error from definition connection: {}", msg)),
87+
Ok(Response::Err(_)) => (),
8988
Ok(Response::Tap(_)) => (),
9089
Ok(Response::Out(_)) => (),
9190

0 commit comments

Comments
 (0)