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: Sven Luther <sven.luther@w...>
Subject: Re: [Caml-list] New Ocaml indentation for VIm
On Fri, Feb 25, 2005 at 11:22:32AM +0100, Olivier Grisel wrote:
> 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.

Yeah, that or 4 space indents.

BTW, any hope of seing this new mode migrate upstream (or just in the debian
package ?).

Friendly,

Sven Luther