Remove the blocking call and inline on_lsp_diagnostics_published

This commit is contained in:
Isaac Clayton 2022-07-11 12:11:00 +02:00
parent 14bccb4a90
commit 3ad8d5363c
2 changed files with 22 additions and 37 deletions

View file

@ -14,7 +14,7 @@ use futures::{
future::{BoxFuture, Shared},
FutureExt, TryFutureExt,
};
use gpui::{AsyncAppContext, MutableAppContext, Task};
use gpui::{MutableAppContext, Task};
use highlight_map::HighlightMap;
use lazy_static::lazy_static;
use parking_lot::{Mutex, RwLock};