Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] revised syntax vim file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ijtrotts@u...>
Subject: Re: [Caml-list] revised syntax vim file
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