vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit abaa9c74ae4fa05cd591fdcb61e7abeacedb5b4e
parent 527d462594ace4e19a0a7e2fab755a6faa48f3dc
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 25 Sep 2014 14:39:03 +0200

Actually set global tabwidth

Diffstat:
Meditor.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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) {