aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.c b/editor.c
index 257fa07..4af96d9 100644
--- a/editor.c
+++ b/editor.c
@@ -195,6 +195,7 @@ void editor_tabwidth_set(Editor *ed, int tabwidth) {
return;
for (EditorWin *win = ed->windows; win; win = win->next)
window_tabwidth_set(win->win, tabwidth);
+ ed->tabwidth = tabwidth;
}
bool editor_syntax_load(Editor *ed, Syntax *syntaxes, Color *colors) {