* Include it, along with settings in `OpenParams` grouped under a new struct called `AppState` Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
21 lines
392 B
Rust
21 lines
392 B
Rust
pub mod assets;
|
|
pub mod editor;
|
|
pub mod file_finder;
|
|
pub mod language;
|
|
pub mod menus;
|
|
mod operation_queue;
|
|
pub mod settings;
|
|
mod sum_tree;
|
|
#[cfg(test)]
|
|
mod test;
|
|
mod time;
|
|
mod util;
|
|
pub mod workspace;
|
|
mod worktree;
|
|
|
|
#[derive(Clone)]
|
|
pub struct AppState {
|
|
pub settings: postage::watch::Receiver<settings::Settings>,
|
|
pub language_registry: std::sync::Arc<language::LanguageRegistry>,
|
|
}
|