Allow applying code actions that use commands

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Max Brunsfeld 2022-04-01 10:16:26 -07:00
parent fed5d141bc
commit 56523b5775
2 changed files with 62 additions and 24 deletions

View file

@ -563,8 +563,9 @@ impl Drop for Subscription {
}
#[cfg(any(test, feature = "test-support"))]
#[derive(Clone)]
pub struct FakeLanguageServer {
server: Arc<LanguageServer>,
pub server: Arc<LanguageServer>,
notifications_rx: channel::Receiver<(String, String)>,
}