Move rendering and select prev/next into ContextMenu enum

This prepares the way to have a code actions context menu.
This commit is contained in:
Nathan Sobo 2022-02-05 10:19:43 -07:00
parent ee661516fa
commit 93a3f4b615
4 changed files with 149 additions and 125 deletions

View file

@ -14,7 +14,7 @@ use clock::ReplicaId;
use futures::FutureExt as _;
use gpui::{AppContext, Entity, ModelContext, MutableAppContext, Task};
use lazy_static::lazy_static;
use lsp::{CodeActionKind, LanguageServer};
use lsp::LanguageServer;
use parking_lot::Mutex;
use postage::{prelude::Stream, sink::Sink, watch};
use similar::{ChangeTag, TextDiff};