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-03-23 (22:37)
From: Olivier Grisel <olivier.grisel@e...>
Subject: Re: [Caml-list] New Ocaml indentation for VIm
Markus Mottl wrote:
> Hi David,
> Sorry for the long delay, but I'm currently having a huge backlog of
> mails that need to be answered.
> I have now found time to take a closer look at your work, and I think
> it looks very promising.  I have just integrated your changes into my
> distribution of Vim-files (see signature for link to my new site).
> The two indentation styles are still separate, but I think that once OMLet
> is stable, we can make it the default.  I'll keep using it as default in
> my projects to track down potential problems, but it looks great so far.
> Thanks a lot for your work!

To all vimist-ocamlers around here,

Something I find rather useful when programming in ocaml with vim, is to add all 
the .cm* suffixes to your suffixes variable, eg:

(The .omc is only useful when using omake as a [great!] building tool).

This line is both useful when using vim's file explorer or the tab completion. 
It would be nice if something similar could be included by default in David's 
omlet or Markus'  ftplugin/ocaml.vim file.