From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA30945; Wed, 30 Oct 2002 13:14:53 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA32595 for ; Wed, 30 Oct 2002 13:14:52 +0100 (MET) Received: from pop9.ucdavis.edu (pop9.ucdavis.edu [169.237.105.19]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9UCEpD03946 for ; Wed, 30 Oct 2002 13:14:51 +0100 (MET) Received: from beech ([128.120.141.217]) by pop9.ucdavis.edu (8.11.6/8.11.0/IT4.6.2) with ESMTP id g9UCEot02294 for ; Wed, 30 Oct 2002 04:14:50 -0800 (PST) Received: from ijtrotts by beech with local (Exim 3.36 #1 (Debian)) id 186rlH-00057q-00 for ; Wed, 30 Oct 2002 04:15:51 -0800 Date: Wed, 30 Oct 2002 04:15:51 -0800 From: Issac Trotts To: OCaml Mailing List Subject: Re: [Caml-list] revised syntax vim file Message-ID: <20021030121551.GA19687@beech> References: <20021030104917.GA18771@beech> <20021030112122.GA13090@lordsoth.takhisis.org> <20021030113939.GA9305@fichte.ai.univie.ac.at> <20021030115456.GA19380@beech> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021030115456.GA19380@beech> User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Oct 30, 2002 at 03:54:56AM -0800, Issac Trotts wrote: > On Wed, Oct 30, 2002 at 12:39:40PM +0100, Markus Mottl wrote: > > On Wed, 30 Oct 2002, Stefano Zacchiroli wrote: > > > On Wed, Oct 30, 2002 at 02:49:17AM -0800, Issac Trotts wrote: > > > > Here's a patch to Markus Mottl's > > > > and Karl-Heinz Sylla's vim syntax file so it will work > > > > a bit better with the revised syntax. > > > > > > Thanks for the patch! > > > > > > May I forward your patch to the debian vim maintainer so that it can be > > > included in the debian vim package? > > > > It's not necessary to distribute patches separately! Just send them to > > me so that I can adapt the syntax file. I have introduced a variable > > "ocaml_revised", which allows you to toggle the right syntax highlighting: > > > > let ocaml_revised=1 > > > > Please tell me whether the change fills your needs! > > Yours is better. The only thing I would like to change is to make it > automatically decide which mode to use, depending on the contents > of the file. It would also help to highlight <- as an error (so new users of the revised syntax remember to use := instead). The compiler error message is not very helpful. Issac ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners