Finish getting multiple diagnostics sources building and running
This commit is contained in:
parent
bb4de47b15
commit
6156dbced0
8 changed files with 34 additions and 23 deletions
|
@ -250,10 +250,6 @@ impl LanguageServer {
|
|||
log::trace!("incoming message:{}", String::from_utf8_lossy(&buffer));
|
||||
|
||||
if let Ok(msg) = serde_json::from_slice::<AnyNotification>(&buffer) {
|
||||
dbg!(
|
||||
msg.method,
|
||||
notification_handlers.lock().keys().collect::<Vec<_>>()
|
||||
);
|
||||
if let Some(handler) = notification_handlers.lock().get_mut(msg.method) {
|
||||
handler(msg.id, msg.params.get(), cx.clone());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue