Camlanot.vim is a project mainly written in Vim Script, it's free.
Ocaml support for type annotation files, included support for ocamlbuild
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2025
(22/09/07 This should be soon added to the official ocaml ftplugin)
Ocaml support for annot file is already implemented in the official Ocaml ftplugin and in ocaml.annot.pl (script_id=1197).
But this script adds the following:
no need for python support (neither perl or anything else : only vim code inside)
ocamlbuild support, ie.
Bonus:
latin1 accents are handled
lists are handled, even on multiple lines, you don't need the visual mode (the cursor must be on the first bracket)
parenthesized expressions, arrays, and structures (ie. '(...)', '[|...|]', and '{...}') are handled the same way
Usage: