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
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:
set 
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.cmi,.cmo,.cma,.cmx,.cmxa,.omc

(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.

Best,

	Olivier