Init chat_panel

This commit is contained in:
Antonio Scandurra 2021-08-24 17:54:25 +02:00
parent 2701abde11
commit bb570d3702

View file

@ -9,7 +9,7 @@ use std::{fs, path::PathBuf, sync::Arc};
use zed::{ use zed::{
self, assets, self, assets,
channel::ChannelList, channel::ChannelList,
editor, file_finder, chat_panel, editor, file_finder,
fs::RealFs, fs::RealFs,
language, menus, rpc, settings, theme_selector, language, menus, rpc, settings, theme_selector,
workspace::{self, OpenParams, OpenPaths}, workspace::{self, OpenParams, OpenPaths},
@ -43,6 +43,7 @@ fn main() {
workspace::init(cx); workspace::init(cx);
editor::init(cx); editor::init(cx);
file_finder::init(cx); file_finder::init(cx);
chat_panel::init(cx);
theme_selector::init(&app_state, cx); theme_selector::init(&app_state, cx);
cx.set_menus(menus::menus(&app_state.clone())); cx.set_menus(menus::menus(&app_state.clone()));