Adrian Woźniak
c2e1369738
* Remove unused imports Start FileSystem UI Fix formating Add textures for dir and file, implement prepare_ui, render, update and open directory Display choose file Display files and directories Format code Expand and collapse directories, open file Format code Fix calculating size of directory and displaying children Refactor render open file modal Format code Scroll file tree Format code Refactor open file modal Fix CI Fix some tests, add more tests, fix formatting Fix CI test run Fix CI test run * Add more tests * Add more tests * More tests * More tests * Fix caret position * Add simple string matching * Fixing add characters * Fix themes images * Simplify * Simplify * Simplify * Fix some problems * Fix race conditions in tests * Format code * Format code
21 lines
406 B
Rust
21 lines
406 B
Rust
extern crate rider_lexers;
|
|
extern crate rider_themes;
|
|
|
|
use std::sync::{Arc, RwLock};
|
|
|
|
pub mod config;
|
|
pub mod directories;
|
|
pub mod editor_config;
|
|
pub mod scroll_config;
|
|
|
|
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;
|
|
}
|