Add auto-indent support
This commit is contained in:
parent
b1c6505832
commit
f0d9bc06e1
5 changed files with 14 additions and 2 deletions
|
|
@ -160,7 +160,11 @@ pub fn menu_bar<'a>(config: &Config) -> Element<'a, Message> {
|
|||
MenuTree::with_children(
|
||||
menu_folder(fl!("indentation")),
|
||||
vec![
|
||||
menu_item(fl!("automatic-indentation"), Message::Todo),
|
||||
menu_checkbox(
|
||||
fl!("automatic-indentation"),
|
||||
config.auto_indent,
|
||||
Message::ToggleAutoIndent,
|
||||
),
|
||||
MenuTree::new(horizontal_rule(1)),
|
||||
menu_tab_width(1),
|
||||
menu_tab_width(2),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue