Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Regards,

	Olivier