Store a reference to the LangageRegistry on the Worktree

This commit is contained in:
Nathan Sobo 2021-06-29 20:07:37 -06:00
parent 34963ac80d
commit bbf803d7dc
10 changed files with 84 additions and 106 deletions

View file

@ -17,7 +17,7 @@ pub mod worktree;
#[derive(Clone)]
pub struct AppState {
pub settings: postage::watch::Receiver<settings::Settings>,
pub language_registry: std::sync::Arc<language::LanguageRegistry>,
pub languages: std::sync::Arc<language::LanguageRegistry>,
pub rpc: rpc::Client,
}