Add auto-indent support
This commit is contained in:
parent
b1c6505832
commit
f0d9bc06e1
5 changed files with 14 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ impl Tab {
|
|||
let mut editor = self.editor.lock().unwrap();
|
||||
let mut font_system = FONT_SYSTEM.lock().unwrap();
|
||||
let mut editor = editor.borrow_with(&mut font_system);
|
||||
editor.set_auto_indent(config.auto_indent);
|
||||
editor.set_passthrough(!config.vim_bindings);
|
||||
editor.set_tab_width(config.tab_width);
|
||||
editor.buffer_mut().set_wrap(if config.word_wrap {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue