From 4757debd0b5935dae94944c35c3cac74b14aa209 Mon Sep 17 00:00:00 2001 From: spew Date: Wed, 1 Aug 2018 11:14:59 -0400 Subject: acme: add spacesindent mode --- sys/src/cmd/acme/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/src/cmd/acme/util.c') diff --git a/sys/src/cmd/acme/util.c b/sys/src/cmd/acme/util.c index aa5d3ac14..bf00a9e65 100644 --- a/sys/src/cmd/acme/util.c +++ b/sys/src/cmd/acme/util.c @@ -85,7 +85,8 @@ errorwin1(Rune *dir, int ndir, Rune **incl, int nincl) runemove(r, incl[i], n); winaddincl(w, r, n); } - w->autoindent = globalautoindent; + for(i=0; iindent[i] = globalindent[i]; return w; } -- cgit v1.2.3