Implement tab width config
This commit is contained in:
parent
67d2e4adb7
commit
b1c6505832
5 changed files with 25 additions and 5 deletions
|
|
@ -44,6 +44,7 @@ impl Tab {
|
|||
let mut font_system = FONT_SYSTEM.lock().unwrap();
|
||||
let mut editor = editor.borrow_with(&mut font_system);
|
||||
editor.set_passthrough(!config.vim_bindings);
|
||||
editor.set_tab_width(config.tab_width);
|
||||
editor.buffer_mut().set_wrap(if config.word_wrap {
|
||||
Wrap::Word
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue