English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
New Ocaml indentation for VIm
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-25 (10:22)
From: Olivier Grisel <olivier.grisel@e...>
Subject: Re: [Caml-list] New Ocaml indentation for VIm
David Baelde wrote:
> Hi list,
> I'm developping a new Caml indentation for VIm, which looks like tuareg 
> a lot, plus performs nice things like folding. I believe it's already 
> good enough for being used, but I'm looking for testers, for bug finding 
> but also discussing some points where I don't follow tuareg.

Hi, and thanks a lot, this looks nice (especially the folding support :)

I have just tried it for a few seconds and I found the following identation a 
bit too wide:

let f = function
           |  [] -> foo
           | x::l -> bar

but I would prefer the following:

let f = function
   | [] -> foo
   | x::l -> bar

Anyway, thanks a lot. I will test it more extensively this WE and let you know 
if I find bugs.