summaryrefslogtreecommitdiff
path: root/src/state/editor/bar.rs
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 20:41:29 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-08-02 20:41:29 +0200
commit219c560c7c0ad9e3960298ec125d4e64637fe84b (patch)
treeb04df9aa63b68739383528a77c229828bdb95773 /src/state/editor/bar.rs
parent595bcac243cb9cdd87e7484ab102c86f3235db8a (diff)
add editor theme and state lua bindings
Diffstat (limited to 'src/state/editor/bar.rs')
-rw-r--r--src/state/editor/bar.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/state/editor/bar.rs b/src/state/editor/bar.rs
new file mode 100644
index 0000000..752d021
--- /dev/null
+++ b/src/state/editor/bar.rs
@@ -0,0 +1,8 @@
+use crate::state::{bar::BarState, GlobalState};
+
+BarState!(
+ EditorBarState,
+ (),
+ GlobalState::instance().editor.bar,
+ GlobalState::instance_mut().editor.bar
+);