Draft detached files retrieval

This commit is contained in:
Kirill Bulatov
2021-05-23 20:32:22 +03:00
parent b3383b0661
commit 695569d978
6 changed files with 25 additions and 3 deletions

View File

@@ -103,6 +103,7 @@ impl fmt::Debug for Event {
impl GlobalState {
fn run(mut self, inbox: Receiver<lsp_server::Message>) -> Result<()> {
if self.config.linked_projects().is_empty()
&& self.config.detached_files().is_empty()
&& self.config.notifications().cargo_toml_not_found
{
self.show_message(