rider/rider-config/src/lib.rs

21 lines
406 B
Rust
Raw Normal View History

extern crate rider_lexers;
extern crate rider_themes;
use std::sync::{Arc, RwLock};
2019-01-03 15:19:56 +01:00
pub mod config;
2019-01-03 15:19:56 +01:00
pub mod directories;
pub mod editor_config;
pub mod scroll_config;
2019-01-03 15:19:56 +01:00
pub use crate::config::*;
pub use crate::directories::*;
pub use crate::editor_config::*;
pub use crate::scroll_config::*;
pub type ConfigAccess = Arc<RwLock<Config>>;
pub trait ConfigHolder {
fn config(&self) -> &ConfigAccess;
2019-01-03 15:19:56 +01:00
}