diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 565ec92af..a5a2b5eec 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -54,7 +54,7 @@ enum Task { | |||
54 | pub fn main_loop( | 54 | pub fn main_loop( |
55 | internal_mode: bool, | 55 | internal_mode: bool, |
56 | ws_root: PathBuf, | 56 | ws_root: PathBuf, |
57 | publish_decorations: bool, | 57 | supports_decorations: bool, |
58 | msg_receiver: &Receiver<RawMessage>, | 58 | msg_receiver: &Receiver<RawMessage>, |
59 | msg_sender: &Sender<RawMessage>, | 59 | msg_sender: &Sender<RawMessage>, |
60 | ) -> Result<()> { | 60 | ) -> Result<()> { |
@@ -83,7 +83,7 @@ pub fn main_loop( | |||
83 | let mut subs = Subscriptions::new(); | 83 | let mut subs = Subscriptions::new(); |
84 | let main_res = main_loop_inner( | 84 | let main_res = main_loop_inner( |
85 | internal_mode, | 85 | internal_mode, |
86 | publish_decorations, | 86 | supports_decorations, |
87 | &pool, | 87 | &pool, |
88 | msg_sender, | 88 | msg_sender, |
89 | msg_receiver, | 89 | msg_receiver, |
@@ -156,7 +156,7 @@ impl fmt::Debug for Event { | |||
156 | 156 | ||
157 | fn main_loop_inner( | 157 | fn main_loop_inner( |
158 | internal_mode: bool, | 158 | internal_mode: bool, |
159 | publish_decorations: bool, | 159 | supports_decorations: bool, |
160 | pool: &ThreadPool, | 160 | pool: &ThreadPool, |
161 | msg_sender: &Sender<RawMessage>, | 161 | msg_sender: &Sender<RawMessage>, |
162 | msg_receiver: &Receiver<RawMessage>, | 162 | msg_receiver: &Receiver<RawMessage>, |
@@ -240,7 +240,7 @@ fn main_loop_inner( | |||
240 | update_file_notifications_on_threadpool( | 240 | update_file_notifications_on_threadpool( |
241 | pool, | 241 | pool, |
242 | state.snapshot(), | 242 | state.snapshot(), |
243 | publish_decorations, | 243 | supports_decorations, |
244 | task_sender.clone(), | 244 | task_sender.clone(), |
245 | subs.subscriptions(), | 245 | subs.subscriptions(), |
246 | ) | 246 | ) |