diff options
author | Kirill Bulatov <[email protected]> | 2021-05-23 18:32:22 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-23 20:46:20 +0100 |
commit | 695569d9784b4a7d6e91451a0cc354f8bd009b59 (patch) | |
tree | 3ab3f676d8fe1d04cf874f02ac256538b48df804 /crates/rust-analyzer/src/main_loop.rs | |
parent | b3383b06614e5f302a3afa2fc2c177303b5b6ca8 (diff) |
Draft detached files retrieval
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index f837b89dd..cb002f700 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -103,6 +103,7 @@ impl fmt::Debug for Event { | |||
103 | impl GlobalState { | 103 | impl GlobalState { |
104 | fn run(mut self, inbox: Receiver<lsp_server::Message>) -> Result<()> { | 104 | fn run(mut self, inbox: Receiver<lsp_server::Message>) -> Result<()> { |
105 | if self.config.linked_projects().is_empty() | 105 | if self.config.linked_projects().is_empty() |
106 | && self.config.detached_files().is_empty() | ||
106 | && self.config.notifications().cargo_toml_not_found | 107 | && self.config.notifications().cargo_toml_not_found |
107 | { | 108 | { |
108 | self.show_message( | 109 | self.show_message( |