--- config.def.h | 3 +++ vis.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index aac28a8..70c1708 100644 --- a/config.def.h +++ b/config.def.h _AT_@ -12,6 +12,9 @@ { { NONE(127) }, (func), { .name = (arg) } }, \ { { CONTROL('B') }, (func), { .name = (arg) } } +#define TABWIDTH 8 +#define EXPANDTAB false + /* a mode contains a set of key bindings which are currently valid. * * each mode can specify one parent mode which is consultated if a given key diff --git a/vis.c b/vis.c index 7ccfa22..2be7b67 100644 --- a/vis.c +++ b/vis.c _AT_@ -1891,7 +1891,9 @@ int main(int argc, char *argv[]) { if (!editor_syntax_load(vis, syntaxes, colors)) die("Could not load syntax highlighting definitions\n"); editor_statusbar_set(vis, config->statusbar); - + vis->tabwidth = TABWIDTH; + vis->expandtab = EXPANDTAB; + char *cmd = NULL; for (int i = 1; i < argc; i++) { if (argv[i][0] == '-') { -- 2.2.1 --HlL+5n6rz5pIUxbD--Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Jan 04 2015 - 22:24:07 CET