From owner-freebsd-stable Tue Feb 5 13:25:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from marvin.nildram.co.uk (marvin.nildram.co.uk [195.112.4.71]) by hub.freebsd.org (Postfix) with SMTP id 4E1D937B426 for ; Tue, 5 Feb 2002 13:24:52 -0800 (PST) Received: (qmail 14358 invoked from network); 5 Feb 2002 21:24:50 -0000 Received: from muttley.gotadsl.co.uk (HELO VicNBob) (213.208.123.26) by marvin.nildram.co.uk with SMTP; 5 Feb 2002 21:24:50 -0000 From: Matthew Whelan To: FreeBSD-Stable , Chris BeHanna Date: Tue, 05 Feb 2002 21:24:47 -0000 X-Priority: 3 (Normal) In-Reply-To: <20020204235829.D77182-100000@topperwein.dyndns.org> Message-Id: Subject: Re: Handholding Editor for rc.conf MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Opera 6.0 build 1010 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 05/02/2002 05:06:39, Chris BeHanna wrote: > I should think that it should be a SMOP to add some macros to vim >to do this, given that vim is already sh-syntax aware, and rc.conf >and rc.firewall are merely shell scripts. My experience is that vim's shell syntax checking is a first order approximation. I have certainly written scripts which confused it, although admittedly they're not the sort of thing you should ever put in rc.conf ;p (rc.firewall is of course a different matter) Heh, just goes to show what a vim newbie I am though, I wouldn't have known where to start on this but on closer inspection it looks like a very small fraction of 2html.vim already covers the important part of what would be needed to be shoved into a {Buf,File}WritePre autocommand. Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message