@@ -1353,10 +1353,10 @@ impl Editor {
1354 doc.set_version_control_head(self.diff_providers.get_current_head_name(&path));
1354 doc.set_version_control_head(self.diff_providers.get_current_head_name(&path));
1356− let doc_id = self.new_document(doc);
1356+ let id = self.new_document(doc);
1357− let _ = self.launch_language_servers(doc_id);
1357+ let _ = self.launch_language_servers(id);
1362 self.switch(id, action);
1362 self.switch(id, action);